projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xenserver: Fix VIF script to work with XenServer 5.5
[openvswitch]
/
lib
/
poll-loop.h
diff --git
a/lib/poll-loop.h
b/lib/poll-loop.h
index 341d063b5f72c67d5b206298ae6d9477baac33d6..47cf4c9eead17ab19cbab9a7403381c9e8e917c5 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(). */
@@
-52,4
+56,8
@@
struct poll_waiter *poll_fd_callback(int fd, short int events,
/* 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 */