projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove extern "C" from internal headers
[lttng-tools.git]
/
src
/
common
/
error.h
diff --git
a/src/common/error.h
b/src/common/error.h
index 8bb0de15cfa70f0c621bae207932274903a65c70..a061f6680e12e33b41f9db79053a3e4be874c458 100644
(file)
--- a/
src/common/error.h
+++ b/
src/common/error.h
@@
-25,10
+25,6
@@
#include <lttng/lttng-error.h>
#include <common/compat/tid.h>
#include <lttng/lttng-error.h>
#include <common/compat/tid.h>
-#if defined(__cplusplus)
-extern "C" {
-#endif
-
/* Avoid conflict with Solaris <sys/regset.h> */
#if defined(ERR) && defined(__sun__)
#undef ERR
/* Avoid conflict with Solaris <sys/regset.h> */
#if defined(ERR) && defined(__sun__)
#undef ERR
@@
-268,8
+264,4
@@
const char *log_add_time(void);
/* Name must be a statically-allocated string. */
void logger_set_thread_name(const char *name, bool set_pthread_name);
/* Name must be a statically-allocated string. */
void logger_set_thread_name(const char *name, bool set_pthread_name);
-#if defined(__cplusplus)
-}
-#endif
-
#endif /* _ERROR_H */
#endif /* _ERROR_H */
This page took
0.024293 seconds
and
4
git commands to generate.