X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Ferror.h;h=a061f6680e12e33b41f9db79053a3e4be874c458;hb=b66cbf1731486ab4dc7e0b2e1c3fa05cc5360c19;hp=8bb0de15cfa70f0c621bae207932274903a65c70;hpb=4bd69c5f1161cd065f487da0f4c1aa03a73c47e4;p=lttng-tools.git 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 */