瀏覽代碼

Add missing return type in test

bel 8 年之前
父節點
當前提交
4d85540609
共有 1 個文件被更改,包括 2 次插入1 次删除
  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)--;