summaryrefslogtreecommitdiff
path: root/test/inet
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-02-15 04:30:07 +0000
committerMike Frysinger <vapier@gentoo.org>2006-02-15 04:30:07 +0000
commit1f9d2753aed7963a3784649cf6a8bd8138dacae7 (patch)
tree84f9b9a38663c257424cb3c29e2a2160c0fe4b94 /test/inet
parent8e413bb3cada2bf3f8c0b3b525256de5e443169c (diff)
fix prototype warning
Diffstat (limited to 'test/inet')
-rw-r--r--test/inet/if_nameindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/inet/if_nameindex.c b/test/inet/if_nameindex.c
index 96d9b0113..069d96d99 100644
--- a/test/inet/if_nameindex.c
+++ b/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();