Sfoglia il codice sorgente

Add missing return type in test

bel 8 anni fa
parent
commit
4d85540609
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      test/timertest.c

+ 2 - 1
test/timertest.c

@@ -61,7 +61,8 @@ action_dec(void *arg)
 }
 
 
-static action_dec_to_0(void *arg)
+static int
+action_dec_to_0(void *arg)
 {
 	int *p = (int *)arg;
 	(*p)--;