X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=lib%2Fvlog.h;h=f50b76a16485e8e3e90f97d6f4a99e33e6be93ed;hb=a0bc29a541fc7dc6e20137d5558e2094d614e6ab;hp=d98855a07e372795ead341f43be2e368e5afe4c7;hpb=a14bc59fb8f27db193d74662dc9c5cb8237177ef;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 */