X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=doc%2Fexamples%2Fhello-static-lib%2Fhello.c;h=e54b1e1be0e1711d61cbabf8c34b4d2d994900a6;hb=4b4a133740c87d9a851023a7aeb06b78d887e51b;hp=e7133c5de4d0132985a053e71df3d527c36bb12b;hpb=5f6daaef86c3b4cff5af523cbbd8f2630634259d;p=lttng-ust.git diff --git a/doc/examples/hello-static-lib/hello.c b/doc/examples/hello-static-lib/hello.c index e7133c5d..e54b1e1b 100644 --- a/doc/examples/hello-static-lib/hello.c +++ b/doc/examples/hello-static-lib/hello.c @@ -20,12 +20,14 @@ #define TRACEPOINT_DEFINE #include "ust_tests_hello.h" +static void inthandler(int sig) { printf("in SIGUSR1 handler\n"); tracepoint(ust_tests_hello, tptest_sighandler); } +static int init_int_handler(void) { int result;