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
/
utils
/
testapp
/
gen-ust-events
/
tp.h
diff --git
a/tests/utils/testapp/gen-ust-events/tp.h
b/tests/utils/testapp/gen-ust-events/tp.h
index 6ffbc32abfb423d83d0236436b5091705108925a..ab6469d89b377369dd2f02f05b4551466e5e18cc 100644
(file)
--- a/
tests/utils/testapp/gen-ust-events/tp.h
+++ b/
tests/utils/testapp/gen-ust-events/tp.h
@@
-4,10
+4,6
@@
#if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_TP_H
#if !defined(_TRACEPOINT_TP_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_TP_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
@@
-50,7
+46,3
@@
TRACEPOINT_EVENT(tp, tptest,
/* 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.023753 seconds
and
4
git commands to generate.