Make only libust and libustconsumer use a signal safe usterr.h
[ust.git] / tests / register_test / register_test.c
index 90fca12edf99f3ceba67f5e82ee22aa07774079f..4d1f0fe7e80a6f2df1b525bd8a20743462bc6cb6 100644 (file)
@@ -27,7 +27,6 @@
 
 #include <ust/marker.h>
 #include "usterr.h"
-#include "tracer.h"
 #include "tp.h"
 
 DEFINE_TRACE(hello_tptest);
@@ -55,7 +54,7 @@ void tptest_probe(void *data, int anint)
 
 static void * register_thread_main(void *data)
 {
-       int ret, i, j = 0;
+       int i, j = 0;
 
        struct hello_trace_struct hello[HELLO_LENGTH];
 
@@ -79,10 +78,11 @@ static void * register_thread_main(void *data)
                }
                printf("Unregistered all\n");
        }
+       return NULL;
 }
 
 
-int main()
+int main(int argc, char **argv)
 {
        pthread_t register_thread;
        int i;
This page took 0.023474 seconds and 4 git commands to generate.