X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Ftimeval.h;h=e9401626242f9242a94ed72570572182695ecebf;hb=67a4917b07031b387beafaedce413b4207214059;hp=8567d75475d26bab3961f33083ec5f765eebb294;hpb=03fbffbda4d36188944a4df39eace449a0c306dd;p=openvswitch diff --git a/lib/timeval.h b/lib/timeval.h index 8567d754..e9401626 100644 --- a/lib/timeval.h +++ b/lib/timeval.h @@ -21,6 +21,10 @@ #include "type-props.h" #include "util.h" +#ifdef __cplusplus +extern "C" { +#endif + struct pollfd; struct timeval; @@ -49,4 +53,8 @@ void time_timeval(struct timeval *); void time_alarm(unsigned int secs); int time_poll(struct pollfd *, int n_pollfds, int timeout); +#ifdef __cplusplus +} +#endif + #endif /* timeval.h */