Bug#185649: libc6: conflicting sscanf prototype
Package: libc6
Version: 2.3.1-15
Severity: normal
In order to compile libc6-sparc64 with gcc-3.3, the following patch
needs to be applied.
--- ../glibc-2.3.2/stdio-common/sscanf.c 2002-08-10 14:09:08.000000000 -0400
+++ glibc-2.3.1/stdio-common/sscanf.c 2003-03-20 14:39:34.000000000 -0500
@@ -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;
Reply to: