Fix: C++ support to API header files
[babeltrace.git] / include / babeltrace / clock-types.h
index 2adf618953960e371ed011a1d3f2e3e5241356cf..e1fbfb7d405ca38d95a8536a7038137e6b29f2db 100644 (file)
@@ -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
  *
  * 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 */
This page took 0.022493 seconds and 4 git commands to generate.