X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fcompile%2Fhello.cxx%2Fhello.cpp;h=afbcf4694783aaa6f19567bd6854b383b80b2d92;hb=aedbc21085b8b81ad9baf2f244062e0c411f2521;hp=e9591b843dda3d10f98f0a37473bf184afd4bf5d;hpb=c0c0989ab70574e09b2f7e8b48c2da6af664a849;p=lttng-ust.git diff --git a/tests/compile/hello.cxx/hello.cpp b/tests/compile/hello.cxx/hello.cpp index e9591b84..afbcf469 100644 --- a/tests/compile/hello.cxx/hello.cpp +++ b/tests/compile/hello.cxx/hello.cpp @@ -20,12 +20,14 @@ #define TRACEPOINT_DEFINE #include "ust_tests_hello.h" -void inthandler(int sig) +static +void inthandler(int sig __attribute__((unused))) { printf("in SIGUSR1 handler\n"); tracepoint(ust_tests_hello, tptest_sighandler); } +static int init_int_handler(void) { int result;