about summary refs log tree commit diff
path: root/sysdeps/generic/if_index.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/if_index.c')
-rw-r--r--sysdeps/generic/if_index.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/if_index.c b/sysdeps/generic/if_index.c
index c7022d8b07..9ef4e1e810 100644
--- a/sysdeps/generic/if_index.c
+++ b/sysdeps/generic/if_index.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -36,6 +36,7 @@ if_indextoname (unsigned int ifindex, char *ifname)
 }
 stub_warning (if_indextoname)
 
+struct if_nameindex;		/* inhibit warning */
 void
 if_freenameindex (struct if_nameindex *ifn)
 {