Remove extern C around probe header
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Feb 2012 23:03:51 +0000 (18:03 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 10 Feb 2012 23:03:51 +0000 (18:03 -0500)
Not required, and prohibits sdt.h from declaring templates from
tracepoint.h.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
tests/hello.cxx/ust_tests_hello.h

index a54bc595650da4dadd505ef5d1ec152f55b4c26b..7ce547ed443dcb9a055cef43cd520a0156d829aa 100644 (file)
@@ -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 <mathieu.desnoyers@efficios.com>
  *
@@ -57,7 +53,3 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus 
-}
-#endif
This page took 0.0252520000000001 seconds and 4 git commands to generate.