* defs.h (ATTR_FORMAT): New macro, expands to gcc's format

attribute when compiled by gcc.
* defs.h, language.h, monitor.h: Changed many function
  declarations to use ATTR_FORMAT.

* breakpoint.c (delete_command); source.c (directory_command);
  top.c (define_command): Changed call to query() that had too
  many arguments.
* printcmd.c (address_info): Changed call to printf_filtered()
  that had too many arguments.
This commit is contained in:
J.T. Conklin
1995-05-19 22:44:51 +00:00
parent 078d1a5afa
commit e3033bb086
3 changed files with 9 additions and 5 deletions

View File

@ -2619,7 +2619,7 @@ define_command (comname, from_tty)
{
warning ("Your new `%s' command does not hook any existing command.",
comname);
if (!query ("Proceed? ", (char *)0))
if (!query ("Proceed? "))
error ("Not confirmed.");
}
}