From 85c613aaa7092f8dfc8ce0c475e0ef210685bc16 Mon Sep 17 00:00:00 2001 From: "J.T. Conklin" Date: Thu, 18 May 1995 23:45:31 +0000 Subject: * 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 . * remote-e7000.c: Likewise. * f-typeprint.c (f_type_print_base): Fix typo found by above changes. --- gdb/monitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gdb/monitor.h') diff --git a/gdb/monitor.h b/gdb/monitor.h index 64e7870..dde19aa 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -172,5 +172,6 @@ extern void monitor_open PARAMS ((char *args, struct monitor_ops *ops, int from_ extern char *monitor_supply_register PARAMS ((int regno, char *valstr)); extern int monitor_expect PARAMS ((char *prompt, char *buf, int buflen)); extern int monitor_expect_prompt PARAMS ((char *buf, int buflen)); -extern void monitor_printf (); +extern void monitor_printf PARAMS ((char *, ...)); +extern void monitor_printf_noecho PARAMS ((char *, ...)); extern void init_monitor_ops PARAMS ((struct target_ops *)); -- cgit v1.1