浏览代码

fix prototype warning

Mike Frysinger 19 年之前
父节点
当前提交
1f9d2753ae
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      test/inet/if_nameindex.c

+ 1 - 1
test/inet/if_nameindex.c

@@ -52,7 +52,7 @@ void test_if_nametoindex(void)
 	printf("if_nametoindex(%s) = %i\n", ifname, ifindex);
 }
 
-int main()
+int main(void)
 {
 	test_if_nameindex();
 	test_if_indextoname();