summaryrefslogtreecommitdiffstats
path: root/test/inet
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
committerMike Frysinger <vapier@gentoo.org>2007-01-29 02:56:45 +0000
commit92a56f367e6635bebf4e519a49943c15d2981d85 (patch)
tree8d0cc34ab7791579c5e7979bc09b5ede8b1bc7be /test/inet
parent55aaeb574609ff7fb7ac93ce4ffe01be0a56f5b7 (diff)
downloaduClibc-alpine-92a56f367e6635bebf4e519a49943c15d2981d85.tar.bz2
uClibc-alpine-92a56f367e6635bebf4e519a49943c15d2981d85.tar.xz
fixup prototype warnings
Diffstat (limited to 'test/inet')
-rw-r--r--test/inet/if_nameindex.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/inet/if_nameindex.c b/test/inet/if_nameindex.c
index 069d96d99..126c5bab4 100644
--- a/test/inet/if_nameindex.c
+++ b/test/inet/if_nameindex.c
@@ -11,7 +11,7 @@
static char ifname[IF_NAMESIZE];
-void test_if_nameindex(void)
+static void test_if_nameindex(void)
{
size_t i;
struct if_nameindex *ret;
@@ -30,7 +30,7 @@ void test_if_nameindex(void)
if_freenameindex(ret);
}
-void test_if_indextoname(void)
+static void test_if_indextoname(void)
{
if (if_indextoname(1, ifname) == NULL) {
perror("if_nameindex()");
@@ -40,7 +40,7 @@ void test_if_indextoname(void)
printf("if_indextoname(1) = %s\n", ifname);
}
-void test_if_nametoindex(void)
+static void test_if_nametoindex(void)
{
int ifindex = if_nametoindex(ifname);