aboutsummaryrefslogtreecommitdiff
path: root/iconv
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-07-24 07:28:43 +0000
committerAndreas Jaeger <aj@suse.de>2001-07-24 07:28:43 +0000
commit53e6290617392b2e64a2fdf5b9a3c8e8115de8bf (patch)
tree9bb14a68eb013333a3c94fa44f1a5e2db7744750 /iconv
parent06b5289f832efb5389778017e37a02d967ea7232 (diff)
downloadglibc-53e6290617392b2e64a2fdf5b9a3c8e8115de8bf.zip
glibc-53e6290617392b2e64a2fdf5b9a3c8e8115de8bf.tar.gz
glibc-53e6290617392b2e64a2fdf5b9a3c8e8115de8bf.tar.bz2
* iconv/iconvconfig.c (name_insert): Make static to avoid warning.
* iconv/gconv_cache.c: Include stdio.h for puts declaration.
Diffstat (limited to 'iconv')
-rw-r--r--iconv/gconv_cache.c1
-rw-r--r--iconv/iconvconfig.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/iconv/gconv_cache.c b/iconv/gconv_cache.c
index 498993d..ab3affb 100644
--- a/iconv/gconv_cache.c
+++ b/iconv/gconv_cache.c
@@ -20,6 +20,7 @@
#include <dlfcn.h>
#include <fcntl.h>
+#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
diff --git a/iconv/iconvconfig.c b/iconv/iconvconfig.c
index 1d76c8f..d7a514c 100644
--- a/iconv/iconvconfig.c
+++ b/iconv/iconvconfig.c
@@ -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;