X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fclock-types.h;h=e1fbfb7d405ca38d95a8536a7038137e6b29f2db;hp=438d335f7a3ecf196fc27a815f9d628a20fae91d;hb=6946751f1f5ce1ed7ed5648a8e259c68f718223c;hpb=b4b292cc76e04e9efda111e492251d8e7aefe451 diff --git a/include/babeltrace/clock-types.h b/include/babeltrace/clock-types.h index 438d335f..e1fbfb7d 100644 --- a/include/babeltrace/clock-types.h +++ b/include/babeltrace/clock-types.h @@ -22,6 +22,10 @@ * all copies or substantial portions of the Software. */ +#ifdef __cplusplus +extern "C" { +#endif + /* * The Babeltrace clock representations */ @@ -30,4 +34,8 @@ enum bt_clock_type { BT_CLOCK_REAL, }; +#ifdef __cplusplus +} +#endif + #endif /* _BABELTRACE_CLOCK_TYPES_H */