2004-10-10 Andrew Cagney <cagney@gnu.org>

* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
	comment.
This commit is contained in:
Andrew Cagney 2004-10-11 05:26:25 +00:00
parent 2ad770c380
commit 7710980469
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2004-10-10 Andrew Cagney <cagney@gnu.org>
* ada-lang.c (lim_warning): Add ATTR_FORMAT prototype and FIXME
comment.
2004-10-10 Joel Brobecker <brobecker@gnat.com>
* mips-tdep.c (mips16_scan_prologue): Remove redundant code.

View File

@ -478,6 +478,10 @@ cond_offset_target (CORE_ADDR address, long offset)
number of warnings has passed during the evaluation of the current
expression. */
/* FIXME: cagney/2004-10-10: This function is mimicking the behavior
provided by "complaint". */
static void lim_warning (const char *format, ...) ATTR_FORMAT (printf, 1, 2);
static void
lim_warning (const char *format, ...)
{