include/unix/canfestival.h
changeset 251 cab66ef3e68e
parent 167 b2f8b91d89b5
child 329 7717252e3ed9
--- a/include/unix/canfestival.h	Mon Aug 06 17:59:06 2007 +0200
+++ b/include/unix/canfestival.h	Tue Aug 07 17:18:03 2007 +0200
@@ -1,6 +1,10 @@
 #ifndef UNIX_H_
 #define UNIX_H_
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #include "timerscfg.h"
 #include "can_driver.h"
 #include "data.h"
@@ -19,4 +23,8 @@
 CAN_PORT canOpen(s_BOARD *board, CO_Data * d);
 int canClose(CO_Data * d);
 
+#ifdef __cplusplus
+};
+#endif
+
 #endif /*UNIX_H_*/