summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfcolin2007-06-28 15:06:53 +0000
committerfcolin2007-06-28 15:06:53 +0000
commit960feac2ade2d7a359d4b806b2dc19ae940314e1 (patch)
tree4de12eca8420268ace7da3d5d5a6cb1cc7d52bc3 /src
parentbc8d9dd11c6aba2375d90402bca4f6669dcc1f64 (diff)
downloadivy-c-960feac2ade2d7a359d4b806b2dc19ae940314e1.zip
ivy-c-960feac2ade2d7a359d4b806b2dc19ae940314e1.tar.gz
ivy-c-960feac2ade2d7a359d4b806b2dc19ae940314e1.tar.bz2
ivy-c-960feac2ade2d7a359d4b806b2dc19ae940314e1.tar.xz
cplusplus ification de timer.h
Diffstat (limited to 'src')
-rw-r--r--src/timer.h12
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
+