X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;fp=src%2Fcommon%2Ferror.h;h=a061f6680e12e33b41f9db79053a3e4be874c458;hp=8bb0de15cfa70f0c621bae207932274903a65c70;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hpb=729c1fec5976af17fded2f026725a08ef1924290 diff --git a/src/common/error.h b/src/common/error.h index 8bb0de15c..a061f6680 100644 --- a/src/common/error.h +++ b/src/common/error.h @@ -25,10 +25,6 @@ #include #include -#if defined(__cplusplus) -extern "C" { -#endif - /* Avoid conflict with Solaris */ #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); -#if defined(__cplusplus) -} -#endif - #endif /* _ERROR_H */