tracepoint: split provider and event name
[lttng-ust.git] / doc / examples / hello-static-lib / hello.c
index e7133c5de4d0132985a053e71df3d527c36bb12b..8121d1fef8d3709b51ad3497d949ed595e28fc31 100644 (file)
 #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;
This page took 0.023708 seconds and 4 git commands to generate.