parlib: Move alarm/timer functions from benchutil
[akaros.git] / user / utest / signal.c
index f641658..9656d8e 100644 (file)
@@ -1,4 +1,4 @@
-#include <utest.h>
+#include <utest/utest.h>
 #include <pthread.h>
 
 TEST_SUITE("SIGNALS");
 #include <pthread.h>
 
 TEST_SUITE("SIGNALS");
@@ -16,6 +16,7 @@ bool test_sigmask(void) {
                pthread_sigmask(SIG_BLOCK, &s, NULL);
                for (int i=0; i<100000; i++)
                        pthread_yield();
                pthread_sigmask(SIG_BLOCK, &s, NULL);
                for (int i=0; i<100000; i++)
                        pthread_yield();
+               return 0;
        }
        void signal_handler(int signo)
        {
        }
        void signal_handler(int signo)
        {