add C++ guards

This commit is contained in:
Nils O. Selåsdal
2013-06-19 18:48:45 +02:00
parent 6268e6ac8e
commit b4f9ecafe2
7 changed files with 55 additions and 2 deletions
+7
View File
@@ -6,6 +6,9 @@
#include <sys/time.h>
#include "rbtree.h"
#ifdef __cplusplus
extern "C" {
#endif
struct UCTimer;
struct UCTimers;
@@ -140,4 +143,8 @@ int uc_timers_run(struct UCTimers *timers);
//uc_timers_destroy(struct UCTimers *timers) is currently missing..
#ifdef __cplusplus
}
#endif
#endif