* 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 498993d..ab3affb 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 1d76c8f..d7a514c 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;