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
@@ -4,6 +4,9 @@
#include <sys/time.h>
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif
/**
* An abstract clock.
@@ -110,5 +113,9 @@ void uc_settable_clock_set_tv(struct UCoreSettableClock *uclock,
void uc_settable_clock_set(struct UCoreSettableClock *uclock,
time_t secs, suseconds_t usecs);
#ifdef __cplusplus
}
#endif
#endif