X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=lib%2Fvlog.h;h=f50b76a16485e8e3e90f97d6f4a99e33e6be93ed;hb=c6278d208924bb04c41266ddca276712f95533bc;hp=d98855a07e372795ead341f43be2e368e5afe4c7;hpb=34e63086edddcae06d7c1a4fa84fec0861e50758;p=openvswitch diff --git a/lib/vlog.h b/lib/vlog.h index d98855a0..f50b76a1 100644 --- a/lib/vlog.h +++ b/lib/vlog.h @@ -22,6 +22,10 @@ #include #include #include "util.h" + +#ifdef __cplusplus +extern "C" { +#endif /* Logging importance levels. */ #define VLOG_LEVELS \ @@ -187,6 +191,10 @@ void vlog_usage(void); } \ } while (0) extern enum vlog_level min_vlog_levels[VLM_N_MODULES]; + +#ifdef __cplusplus +} +#endif #endif /* vlog.h */