X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fclock-types.h;h=e1fbfb7d405ca38d95a8536a7038137e6b29f2db;hp=2adf618953960e371ed011a1d3f2e3e5241356cf;hb=6946751f1f5ce1ed7ed5648a8e259c68f718223c;hpb=2b78f360e801cfe3fa51092c56c96c8fe23983e0 diff --git a/include/babeltrace/clock-types.h b/include/babeltrace/clock-types.h index 2adf6189..e1fbfb7d 100644 --- a/include/babeltrace/clock-types.h +++ b/include/babeltrace/clock-types.h @@ -1,10 +1,10 @@ -#ifndef _BABELTRACE_CLOCKS_H -#define _BABELTRACE_CLOCKS_H +#ifndef _BABELTRACE_CLOCK_TYPES_H +#define _BABELTRACE_CLOCK_TYPES_H /* * BabelTrace * - * clocks header + * Clock types header * * Copyright 2012 EfficiOS Inc. and Linux Foundation * @@ -22,12 +22,20 @@ * all copies or substantial portions of the Software. */ +#ifdef __cplusplus +extern "C" { +#endif + /* - * the Babeltrace clock representations + * The Babeltrace clock representations */ enum bt_clock_type { BT_CLOCK_CYCLES = 0, BT_CLOCK_REAL, }; -#endif /* _BABELTRACE_CLOCKS_H */ +#ifdef __cplusplus +} +#endif + +#endif /* _BABELTRACE_CLOCK_TYPES_H */