X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fpoll-loop.h;h=adb88d482cbd5ef3f563d8adf9548e0987229269;hb=b5e80aecc4b10f73196f272598bac0644f196471;hp=89c8e573e71d51e5212035dae2ac78d5634b707b;hpb=c69ee87c10818267f991236201150b1fa51ae519;p=openvswitch diff --git a/lib/poll-loop.h b/lib/poll-loop.h index 89c8e573..adb88d48 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(). */ @@ -47,4 +51,8 @@ void poll_block(void); /* Cancel a file descriptor callback or event. */ void poll_cancel(struct poll_waiter *); +#ifdef __cplusplus +} +#endif + #endif /* poll-loop.h */