projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tracepoint probes don't need extern C
[lttng-tools.git]
/
tests
/
regression
/
ust
/
linking
/
ust_tests_demo.h
diff --git
a/tests/regression/ust/linking/ust_tests_demo.h
b/tests/regression/ust/linking/ust_tests_demo.h
index d2492b8753b7fc9f9e6b38c5b1078d46ce419ff0..e88c0e59263a6cd4d6566e43c12f915ccbaff9c5 100644
(file)
--- a/
tests/regression/ust/linking/ust_tests_demo.h
+++ b/
tests/regression/ust/linking/ust_tests_demo.h
@@
-4,10
+4,6
@@
#if !defined(_TRACEPOINT_UST_TESTS_DEMO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_UST_TESTS_DEMO_H
#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>
*
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
@@
-55,7
+51,3
@@
TRACEPOINT_LOGLEVEL(ust_tests_demo, done, TRACE_CRIT)
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
/* This part must be outside ifdef protection */
#include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took
0.024487 seconds
and
4
git commands to generate.