projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lib: compile liblttng-ctl as C++
[lttng-tools.git]
/
src
/
common
/
utils.h
diff --git
a/src/common/utils.h
b/src/common/utils.h
index a3250639becd448d38a10e61ef47287709256204..6e478b39eb3609f90aa3ad1ab3b5a4200754411c 100644
(file)
--- a/
src/common/utils.h
+++ b/
src/common/utils.h
@@
-17,6
+17,10
@@
#include <common/compat/directory-handle.h>
#include <common/compat/directory-handle.h>
+#if defined(__cplusplus)
+extern "C" {
+#endif
+
#define KIBI_LOG2 10
#define MEBI_LOG2 20
#define GIBI_LOG2 30
#define KIBI_LOG2 10
#define MEBI_LOG2 20
#define GIBI_LOG2 30
@@
-68,4
+72,8
@@
enum lttng_error_code utils_group_id_from_name(
int utils_parse_unsigned_long_long(const char *str,
unsigned long long *value);
int utils_parse_unsigned_long_long(const char *str,
unsigned long long *value);
+#if defined(__cplusplus)
+}
+#endif
+
#endif /* _COMMON_UTILS_H */
#endif /* _COMMON_UTILS_H */
This page took
0.027028 seconds
and
4
git commands to generate.