]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
* iconv/iconvconfig.c (name_insert): Make static to avoid warning.
authorAndreas Jaeger <aj@suse.de>
Tue, 24 Jul 2001 07:28:43 +0000 (07:28 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 24 Jul 2001 07:28:43 +0000 (07:28 +0000)
* iconv/gconv_cache.c: Include stdio.h for puts declaration.

iconv/gconv_cache.c
iconv/iconvconfig.c

index 498993db8236e15a674cb50eca2820f0f3a5293e..ab3affb26c374aebf2a63dd34ad0c8754b4a0c7c 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <dlfcn.h>
 #include <fcntl.h>
+#include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
index 1d76c8f1ca8fcda30657b5a35556f5d119bfa211..d7a514cf88b0bb1c9df78d3c4cc11ed90cd5ef02 100644 (file)
@@ -968,7 +968,7 @@ write_output (void)
   size_t total;
 
   /* Function to insert the names.  */
-  void name_insert (const void *nodep, VISIT value, int level)
+  static void name_insert (const void *nodep, VISIT value, int level)
     {
       struct name *name;
       unsigned int idx;