projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ofproto-sflow: Maintain table of ports even when clearing configuration.
[openvswitch]
/
lib
/
poll-loop.h
diff --git
a/lib/poll-loop.h
b/lib/poll-loop.h
index 89c8e573e71d51e5212035dae2ac78d5634b707b..adb88d482cbd5ef3f563d8adf9548e0987229269 100644
(file)
--- a/
lib/poll-loop.h
+++ b/
lib/poll-loop.h
@@
-34,6
+34,10
@@
#include <poll.h>
#include <poll.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
struct poll_waiter;
/* Schedule events to wake up the following poll_block(). */
struct poll_waiter;
/* Schedule events to wake up the following poll_block(). */
@@
-47,4
+51,8
@@
void poll_block(void);
/* Cancel a file descriptor callback or event. */
void poll_cancel(struct poll_waiter *);
/* Cancel a file descriptor callback or event. */
void poll_cancel(struct poll_waiter *);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* poll-loop.h */
#endif /* poll-loop.h */