diff options
| author | xHire <xhire@tuxportal.cz> | 2009-05-24 20:13:33 +0200 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2009-05-26 01:11:54 +0200 |
| commit | b992c007c186fddf31f67a7ed0bd5789cfb9b85e (patch) | |
| tree | 8afca953f70438207634bc9a1e073bbeafe47ad6 /src/base/protect.h | |
| parent | 6ac111e0ed67187554ead8cccc241029465e8979 (diff) | |
Rectified the coding style in base .h files
Diffstat (limited to 'src/base/protect.h')
| -rw-r--r-- | src/base/protect.h | 25 |
1 files changed, 13 insertions, 12 deletions
diff --git a/src/base/protect.h b/src/base/protect.h index 9a1cf1d..1a55ef7 100644 --- a/src/base/protect.h +++ b/src/base/protect.h @@ -1,12 +1,12 @@ - #ifndef PROTECT_H -# define PROTECT_H -# define PROTECT_PING_INTERVAL_TIMEOUT 5000 -# define PROTECT_SPEED_INTERVAL_TIMEOUT 40 -# define PROTECT_SPEED_AVARAGE 10 +#define PROTECT_H + +#include "main.h" +#include "myTimer.h" -# include "main.h" -# include "myTimer.h" +#define PROTECT_PING_INTERVAL_TIMEOUT 5000 +#define PROTECT_SPEED_INTERVAL_TIMEOUT 40 +#define PROTECT_SPEED_AVARAGE 10 typedef struct protect_struct { my_time_t lastPing; @@ -17,8 +17,9 @@ typedef struct protect_struct { } protect_t; extern protect_t *newProtect(); -extern void refreshLastMove(protect_t * p); -extern void rereshLastPing(protect_t * p); -extern bool_t isDown(protect_t * p); -extern void destroyProtect(protect_t * p); -#endif +extern void refreshLastMove(protect_t *p); +extern void rereshLastPing(protect_t *p); +extern bool_t isDown(protect_t *p); +extern void destroyProtect(protect_t *p); + +#endif /* PROTECT_H */ |