* utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,

printf_filtered, printf_unfiltered, printfi_filtered, query, warning,
          error, fatal, fatal_dump_core): Use stdarg.h macros when compiling
          with an ANSI compiler.
        * complain.c (complain): Likewise.
        * language.c (type_error, range_error): Likewise.
        * monitor.c (monitor_printf, monitor_printf_noecho): Likewise.
        * remote-array.c (printf_monitor, debuglogs): Likewise.
        * remote-mips.c (mips_error): Likewise.
        * remote-os9k.c (printf_monitor): Likewise.
        * remote-st.c (printf_stdebug): Likewise.
        * gdbtk.c (gdbtk_query): Likewise.

        * defs.h, complain.h, language.h, monitor.h: Add prototypes to
          match above changes.

        * printcmd.c: Remove uneeded #include <varargs.h>.
        * remote-e7000.c: Likewise.

        * f-typeprint.c (f_type_print_base): Fix typo found by above
          changes.
This commit is contained in:
J.T. Conklin
1995-05-18 23:45:31 +00:00
parent ff15324f63
commit 85c613aaa7
16 changed files with 293 additions and 66 deletions

View File

@ -395,10 +395,10 @@ op_error PARAMS ((char *fmt, enum exp_opcode, int));
op_error((f),(o),range_check==range_check_on ? 1 : 0)
extern void
type_error ();
type_error PARAMS ((char *, ...));
void
range_error ();
range_error PARAMS ((char *, ...));
/* Data: Does this value represent "truth" to the current language? */