From: Mathieu Desnoyers Date: Fri, 10 Feb 2012 23:03:51 +0000 (-0500) Subject: Remove extern C around probe header X-Git-Tag: v1.9.7~5 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=88392ad78380766c2361e70ec7b7a7527690e167;p=lttng-ust.git Remove extern C around probe header Not required, and prohibits sdt.h from declaring templates from tracepoint.h. Signed-off-by: Mathieu Desnoyers --- diff --git a/tests/hello.cxx/ust_tests_hello.h b/tests/hello.cxx/ust_tests_hello.h index a54bc595..7ce547ed 100644 --- a/tests/hello.cxx/ust_tests_hello.h +++ b/tests/hello.cxx/ust_tests_hello.h @@ -4,10 +4,6 @@ #if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ) #define _TRACEPOINT_UST_TESTS_HELLO_H -#ifdef __cplusplus -extern "C" { -#endif - /* * Copyright (C) 2011 Mathieu Desnoyers * @@ -57,7 +53,3 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler, /* This part must be outside ifdef protection */ #include - -#ifdef __cplusplus -} -#endif