examples: tracepoint probes don't need extern C
[lttng-ust.git] / doc / examples / demo / ust_tests_demo.h
index b27d5399a684b9e48780b5743b51d4529b33233e..750f510bb6845d81a0d3db3cc83e6dd3fb95e0f8 100644 (file)
@@ -4,10 +4,6 @@
 #if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
 #define _TRACEPOINT_UST_TESTS_DEMO_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 /*
  * Copyright (C) 2011  Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
  *
@@ -65,7 +61,3 @@ TRACEPOINT_MODEL_EMF_URI(ust_tests_demo, done,
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took 0.023353 seconds and 4 git commands to generate.