From 88392ad78380766c2361e70ec7b7a7527690e167 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 10 Feb 2012 18:03:51 -0500 Subject: [PATCH] Remove extern C around probe header Not required, and prohibits sdt.h from declaring templates from tracepoint.h. Signed-off-by: Mathieu Desnoyers --- tests/hello.cxx/ust_tests_hello.h | 8 -------- 1 file changed, 8 deletions(-) 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 -- 2.34.1