* [PATCH] Fix printf-parsemb.c
@ 2003-06-12 13:35 Jakub Jelinek
2003-06-12 15:07 ` Ulrich Drepper
0 siblings, 1 reply; 2+ messages in thread
From: Jakub Jelinek @ 2003-06-12 13:35 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
printf-parsemb.c: In function `__find_specmb':
printf-parsemb.c:65: error: `MB_CUR_MAX' undeclared (first use in this function)
printf-parsemb.c:65: error: (Each undeclared identifier is reported only once
printf-parsemb.c:65: error: for each function it appears in.)
printf-parsemb.c: In function `__parse_one_specmb':
printf-parsemb.c:120: warning: implicit declaration of function `MAX'
In file included from printf-parsewc.c:2:
printf-parsemb.c: In function `__parse_one_specwc':
printf-parsemb.c:120: warning: implicit declaration of function `MAX'
2003-06-12 Jakub Jelinek <jakub@redhat.com>
* stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h.
--- libc/stdio-common/printf-parsemb.c 12 Jun 2003 09:50:00 -0000 1.1.1.1
+++ libc/stdio-common/printf-parsemb.c 12 Jun 2003 13:08:48 -0000 1.2
@@ -1,4 +1,4 @@
-/* Internal header for parsing printf format strings.
+/* Helper functions for parsing printf format strings.
Copyright (C) 1995-1999, 2000, 2002, 2003 Free Software Foundation, Inc.
This file is part of th GNU C Library.
@@ -19,7 +19,9 @@
#include <ctype.h>
#include <limits.h>
+#include <stdlib.h>
#include <string.h>
+#include <sys/param.h>
#include <wchar.h>
#include <wctype.h>
Jakub
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix printf-parsemb.c
2003-06-12 13:35 [PATCH] Fix printf-parsemb.c Jakub Jelinek
@ 2003-06-12 15:07 ` Ulrich Drepper
0 siblings, 0 replies; 2+ messages in thread
From: Ulrich Drepper @ 2003-06-12 15:07 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Jakub Jelinek wrote:
> 2003-06-12 Jakub Jelinek <jakub@redhat.com>
>
> * stdio-common/printf-parsemb.c: Include stdlib.h and sys/param.h.
Applied.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+6Jbf2ijCOnn/RHQRAm8ZAKCAx3/QPxGtJgQCfZhMAw7a156roQCcDyYq
I+MXCvkLho8rVJwIyTVsbM4=
=DU3Y
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-06-12 15:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-12 13:35 [PATCH] Fix printf-parsemb.c Jakub Jelinek
2003-06-12 15:07 ` Ulrich Drepper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).