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
/
high-throughput
/
tp.h
diff --git
a/tests/regression/ust/high-throughput/tp.h
b/tests/regression/ust/high-throughput/tp.h
index 12286b4dbf4edf5b648c195813726edd096e1eb7..b43cb4e0a4ac322de453f4799fec0ddfc726b2bd 100644
(file)
--- a/
tests/regression/ust/high-throughput/tp.h
+++ b/
tests/regression/ust/high-throughput/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>
*
@@
-55,7
+51,3
@@
TRACEPOINT_EVENT(tp, tptest_sighandler,
/* 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.024341 seconds
and
4
git commands to generate.