X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fhello-static-lib%2Fust_tests_hello.h;fp=doc%2Fexamples%2Fhello-static-lib%2Fust_tests_hello.h;h=e783feca7f1b24763ecb24582a279897c623629d;hb=51bea6047ddaef11f23647ad948bc6f104b0642b;hp=35ea5f5df863d49d32b3eb3e8bf87ec263db872e;hpb=8ccc745889efb88847e2e2c01cb27c814635e092;p=lttng-ust.git diff --git a/doc/examples/hello-static-lib/ust_tests_hello.h b/doc/examples/hello-static-lib/ust_tests_hello.h index 35ea5f5d..e783feca 100644 --- a/doc/examples/hello-static-lib/ust_tests_hello.h +++ b/doc/examples/hello-static-lib/ust_tests_hello.h @@ -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 * @@ -66,7 +62,3 @@ TRACEPOINT_EVENT(ust_tests_hello, tptest_sighandler, /* This part must be outside ifdef protection */ #include - -#ifdef __cplusplus -} -#endif