Przeglądaj źródła

fix prototype warning

Mike Frysinger 19 lat temu
rodzic
commit
1f9d2753ae
1 zmienionych plików z 1 dodań i 1 usunięć
  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();