X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fexamples%2Fhello-static-lib%2Fhello.c;fp=doc%2Fexamples%2Fhello-static-lib%2Fhello.c;h=8121d1fef8d3709b51ad3497d949ed595e28fc31;hb=2208d8b5689264e35ed0a660d8c3c82021cc0367;hp=e54b1e1be0e1711d61cbabf8c34b4d2d994900a6;hpb=c53279a3e7796da67c5ad8d5e5657bf03def2dcb;p=lttng-ust.git diff --git a/doc/examples/hello-static-lib/hello.c b/doc/examples/hello-static-lib/hello.c index e54b1e1b..8121d1fe 100644 --- a/doc/examples/hello-static-lib/hello.c +++ b/doc/examples/hello-static-lib/hello.c @@ -21,7 +21,7 @@ #include "ust_tests_hello.h" static -void inthandler(int sig) +void inthandler(int sig __attribute__((unused))) { printf("in SIGUSR1 handler\n"); tracepoint(ust_tests_hello, tptest_sighandler);