Cleanup: apply `include-what-you-use` guideline for `size_t`
[deliverable/lttng-ust.git] / doc / examples / hello-static-lib / ust_tests_hello.h
index 35ea5f5df863d49d32b3eb3e8bf87ec263db872e..2b557563f9c8e97bec055a61f85249425d99d6f3 100644 (file)
@@ -4,10 +4,6 @@
 #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>
  *
@@ -31,6 +27,7 @@ extern "C" {
  */
 
 #include <lttng/tracepoint.h>
+#include <stddef.h>
 
 TRACEPOINT_EVENT(ust_tests_hello, tptest,
        TP_ARGS(int, anint, int, netint, long *, values,
@@ -66,7 +63,3 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler,
 
 /* This part must be outside ifdef protection */
 #include <lttng/tracepoint-event.h>
-
-#ifdef __cplusplus
-}
-#endif
This page took 0.025471 seconds and 5 git commands to generate.