Two warnings less
Andreas Jaeger
aj@suse.de
Mon Apr 16 01:59:00 GMT 2001
I get these warning during glibc compilation:
../sysdeps/unix/i386/i686/tempname.c:35:27: warning: #include_next in primary source file
gconv_db.c:635: warning: no previous prototype for `__gconv_lookup_alias'
Ok to commit the appended patch?
Andreas
2001-04-16 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/i386/i686/tempname.c: Use include instead of
include_next to silence GCC.
* iconv/gconv_db.c: Include gconv_charset.h for
__gconv_lookup_alias prototype.
============================================================
Index: sysdeps/unix/i386/i686/tempname.c
--- sysdeps/unix/i386/i686/tempname.c 2001/03/19 23:33:54 1.1
+++ sysdeps/unix/i386/i686/tempname.c 2001/04/16 08:56:36
@@ -32,4 +32,4 @@
} \
__asm__ __volatile__ ("rdtsc" : "=A" (Var))
-#include_next <tempname.c>
+#include <sysdeps/posix/tempname.c>
============================================================
Index: iconv/gconv_db.c
--- iconv/gconv_db.c 2001/04/06 17:34:22 1.39
+++ iconv/gconv_db.c 2001/04/16 08:56:37
@@ -27,6 +27,7 @@
#include <dlfcn.h>
#include <gconv_int.h>
+#include <gconv_charset.h>
/* Simple data structure for alias mapping. We have two names, `from'
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list