X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fformat.h;h=ef340da115b9432abdad0f35d6e5e94a3d23e52b;hp=4ace0b04563067a56187063299a3bc3679995a93;hb=6946751f1f5ce1ed7ed5648a8e259c68f718223c;hpb=7c282828204b07455e48dd9986ea44d3950429ac diff --git a/include/babeltrace/format.h b/include/babeltrace/format.h index 4ace0b04..ef340da1 100644 --- a/include/babeltrace/format.h +++ b/include/babeltrace/format.h @@ -26,6 +26,10 @@ #include #include +#ifdef __cplusplus +extern "C" { +#endif + typedef int bt_intern_str; /* forward declaration */ @@ -75,5 +79,8 @@ extern void bt_fprintf_format_list(FILE *fp); extern int bt_register_format(struct format *format); /* TBD: format unregistration */ +#ifdef __cplusplus +} +#endif #endif /* _BABELTRACE_FORMAT_H */