Explorar o código

fix prototype warning

Mike Frysinger %!s(int64=19) %!d(string=hai) anos
pai
achega
1f9d2753ae
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();