Explorar el Código

fix prototype warning

Mike Frysinger hace 20 años
padre
commit
1f9d2753ae
Se han modificado 1 ficheros con 1 adiciones y 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();