examples: tracepoint probes don't need extern C
[lttng-ust.git] / doc / examples / hello-static-lib / ust_tests_hello.h
index 35ea5f5df863d49d32b3eb3e8bf87ec263db872e..e783feca7f1b24763ecb24582a279897c623629d 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>
  *
@@ -66,7 +62,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.023655 seconds and 4 git commands to generate.