projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
examples: tracepoint probes don't need extern C
[lttng-ust.git]
/
doc
/
examples
/
easy-ust
/
sample_component_provider.h
diff --git
a/doc/examples/easy-ust/sample_component_provider.h
b/doc/examples/easy-ust/sample_component_provider.h
index 7e337825e734525e955c2c2dc6afd65ea0fc984b..dd3c5f0f6fb6106a2d271501e456a377cc365bbd 100644
(file)
--- a/
doc/examples/easy-ust/sample_component_provider.h
+++ b/
doc/examples/easy-ust/sample_component_provider.h
@@
-50,14
+50,6
@@
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./sample_component_provider.h"
#undef TRACEPOINT_INCLUDE
#define TRACEPOINT_INCLUDE "./sample_component_provider.h"
-/*
- * Add this macro and its matching element to make sure the program
- * works in c++.
- */
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
-
/*
* Add this precompiler conditionals to ensure the tracepoint event generation
* can include this file more than once.
/*
* Add this precompiler conditionals to ensure the tracepoint event generation
* can include this file more than once.
@@
-141,11
+133,3
@@
TRACEPOINT_LOGLEVEL(
* Add this after defining the tracepoint events to expand the macros.
*/
#include <lttng/tracepoint-event.h>
* Add this after defining the tracepoint events to expand the macros.
*/
#include <lttng/tracepoint-event.h>
-
-/*
- * Add this macro and its matching element to make sure the program
- * works in c++.
- */
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
This page took
0.023608 seconds
and
4
git commands to generate.