projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: C++ support to API header files
[babeltrace.git]
/
include
/
babeltrace
/
clock-types.h
diff --git
a/include/babeltrace/clock-types.h
b/include/babeltrace/clock-types.h
index 2adf618953960e371ed011a1d3f2e3e5241356cf..e1fbfb7d405ca38d95a8536a7038137e6b29f2db 100644
(file)
--- 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
_TYPE
S_H
+#define _BABELTRACE_CLOCK
_TYPE
S_H
/*
* BabelTrace
*
/*
* BabelTrace
*
- *
clock
s header
+ *
Clock type
s header
*
* Copyright 2012 EfficiOS Inc. and Linux Foundation
*
*
* Copyright 2012 EfficiOS Inc. and Linux Foundation
*
@@
-22,12
+22,20
@@
* all copies or substantial portions of the Software.
*/
* all copies or substantial portions of the Software.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
/*
- *
t
he Babeltrace clock representations
+ *
T
he Babeltrace clock representations
*/
enum bt_clock_type {
BT_CLOCK_CYCLES = 0,
BT_CLOCK_REAL,
};
*/
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.023181 seconds
and
4
git commands to generate.