From: Jakub Jelinek <jakub@redhat.com>
To: Ulrich Drepper <drepper@redhat.com>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: [PATCH] Fix printf-parsemb.c
Date: Thu, 12 Jun 2003 13:35:00 -0000 [thread overview]
Message-ID: <20030612133513.GY24872@sunsite.ms.mff.cuni.cz> (raw)
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
next reply other threads:[~2003-06-12 13:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-12 13:35 Jakub Jelinek [this message]
2003-06-12 15:07 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030612133513.GY24872@sunsite.ms.mff.cuni.cz \
--to=jakub@redhat.com \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).