Jelajahi Sumber

Add missing return type in test

bel 8 tahun lalu
induk
melakukan
4d85540609
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  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)--;