bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bad definition in glibc-2.3.2/stdio-common/sscanf.c


From: Truxton Fulton
Subject: bad definition in glibc-2.3.2/stdio-common/sscanf.c
Date: Tue, 11 Nov 2003 15:25:17 -0800
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Hi,

I had to change the declaration of sscanf
in glibc-2.3.2/stdio-common/sscanf.c in
order to get glibc to compile :

--- sscanf.c~   Sat Aug 10 11:09:08 2002
+++ sscanf.c    Tue Nov 11 14:40:21 2003
@@ -27,9 +27,7 @@
 /* Read formatted input from S, according to the format string FORMAT.  */
 /* VARARGS2 */
 int
-sscanf (s, format)
-     const char *s;
-     const char *format;
+sscanf (const char *s, const char *format, ...)
 {
   va_list arg;
   int done;


Regards,

-Truxton




reply via email to

[Prev in Thread] Current Thread [Next in Thread]