X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpoll-loop.h;h=47cf4c9eead17ab19cbab9a7403381c9e8e917c5;hb=6ce6d3c928f26bacca60baf716b4b99a05a45ba7;hp=341d063b5f72c67d5b206298ae6d9477baac33d6;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;p=openvswitch diff --git a/lib/poll-loop.h b/lib/poll-loop.h index 341d063b..47cf4c9e 100644 --- a/lib/poll-loop.h +++ b/lib/poll-loop.h @@ -34,6 +34,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + 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 *); +#ifdef __cplusplus +} +#endif + #endif /* poll-loop.h */