This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Two warnings less



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]