diff options
Diffstat (limited to 'src/timer.h')
-rw-r--r-- | src/timer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/timer.h b/src/timer.h index f8f21a5..fb80841 100644 --- a/src/timer.h +++ b/src/timer.h @@ -13,7 +13,14 @@ * Please refer to file version.h for the * copyright notice regarding this software */ +#ifndef IVYTIMER_H +#define IVYTIMER_H + +#ifdef __cplusplus +extern "C" { +#endif + /* Module de gestion des timers autour d'un select */ typedef struct _timer *TimerId; @@ -32,3 +39,8 @@ void TimerRemove( TimerId id ); struct timeval *TimerGetSmallestTimeout(); void TimerScan(); +#ifdef __cplusplus +} +#endif +#endif + |