X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpoll-loop.h;h=adb88d482cbd5ef3f563d8adf9548e0987229269;hb=7103dec49eb569c3196239da6c178a29c3003e2b;hp=89c8e573e71d51e5212035dae2ac78d5634b707b;hpb=a4af00400a835eb87569ba40e21874c05e872c0f;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 */