projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename UNUSED macro to OVS_UNUSED to avoid naming conflict.
[openvswitch]
/
lib
/
timeval.h
diff --git
a/lib/timeval.h
b/lib/timeval.h
index 8567d75475d26bab3961f33083ec5f765eebb294..e9401626242f9242a94ed72570572182695ecebf 100644
(file)
--- a/
lib/timeval.h
+++ b/
lib/timeval.h
@@
-21,6
+21,10
@@
#include "type-props.h"
#include "util.h"
#include "type-props.h"
#include "util.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct pollfd;
struct timeval;
struct pollfd;
struct timeval;
@@
-49,4
+53,8
@@
void time_timeval(struct timeval *);
void time_alarm(unsigned int secs);
int time_poll(struct pollfd *, int n_pollfds, int timeout);
void time_alarm(unsigned int secs);
int time_poll(struct pollfd *, int n_pollfds, int timeout);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* timeval.h */
#endif /* timeval.h */