projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add missing alignment after header write
[lttng-ust.git]
/
tests
/
hello
/
ust_tests_hello.h
diff --git
a/tests/hello/ust_tests_hello.h
b/tests/hello/ust_tests_hello.h
index 9f6ab9b8ca8f8adf7d20e8e4a67559c835dfaafa..9d78b5dacf42430109a5bdb62f88817478e3a7aa 100644
(file)
--- a/
tests/hello/ust_tests_hello.h
+++ b/
tests/hello/ust_tests_hello.h
@@
-4,6
+4,10
@@
#if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_UST_TESTS_HELLO_H
#if !defined(_TRACEPOINT_UST_TESTS_HELLO_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
#define _TRACEPOINT_UST_TESTS_HELLO_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
/*
* Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*
@@
-60,3
+64,7
@@
TRACEPOINT_EVENT_NOARGS(ust_tests_hello_tptest_sighandler,
/* This part must be outside protection */
#include <ust/tracepoint-event.h>
/* This part must be outside protection */
#include <ust/tracepoint-event.h>
+
+#ifdef __cplusplus
+}
+#endif
This page took
0.037236 seconds
and
4
git commands to generate.