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]

Fix new warnings



These warnings are fixed by the appended patch:

obstack.c:486: warning: implicit declaration of function `__fwprintf'
getpass.c:84: warning: implicit declaration of function `__fwprintf'
getpass.c:105: warning: implicit declaration of function `putwc_unlocked'

Ok to commit?
Andreas

2001-08-17  Andreas Jaeger  <aj@suse.de>

	* misc/getpass.c: Include wchar.h for prototypes.
	* malloc/obstack.c: Likewise.

============================================================
Index: misc/getpass.c
--- misc/getpass.c	2001/08/17 04:48:15	1.15
+++ misc/getpass.c	2001/08/17 11:28:48
@@ -22,6 +22,7 @@
 #include <unistd.h>
 
 #ifdef USE_IN_LIBIO
+# include <wchar.h>
 # define flockfile(s) _IO_flockfile (s)
 # define funlockfile(s) _IO_funlockfile (s)
 #endif
============================================================
Index: malloc/obstack.c
--- malloc/obstack.c	2001/08/17 04:48:08	1.16
+++ malloc/obstack.c	2001/08/17 11:28:48
@@ -46,6 +46,9 @@
 #endif
 #endif
 
+#if defined _LIBC && defined USE_IN_LIBIO
+# include <wchar.h>
+#endif
 
 #ifndef ELIDE_CODE
 

-- 
 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]