Tracepoint API namespacing 'TRACEPOINT_DEFINE'
[lttng-ust.git] / tests / compile / hello.cxx / hello.cpp
index e9591b843dda3d10f98f0a37473bf184afd4bf5d..e031279bec0ae3ac2f52364c1f28b9ce3a64938c 100644 (file)
 #include <arpa/inet.h>
 #include <stdlib.h>
 
-#define TRACEPOINT_DEFINE
+#define LTTNG_UST_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.022935 seconds and 4 git commands to generate.