From 960feac2ade2d7a359d4b806b2dc19ae940314e1 Mon Sep 17 00:00:00 2001 From: fcolin Date: Thu, 28 Jun 2007 15:06:53 +0000 Subject: cplusplus ification de timer.h --- src/timer.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src') 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 + -- cgit v1.1