From dee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sat, 10 Jun 2000 01:32:12 +0000 Subject: [PATCH] Eliminate PARAMS. --- gdb/ChangeLog | 5 +++++ gdb/command.h | 2 +- gdb/monitor.h | 8 ++++---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index a87342d9d3b..984cdf99979 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2000-06-08 Kevin Buettner + + * command.h, monitor.h: Eliminate use of PARAMS from these + files. + 2000-06-08 Fernando Nasser * config/i386/tm-embed.h: New file. Specific for embedded targets diff --git a/gdb/command.h b/gdb/command.h index 7f5a6b2ae2e..469df9f8cb9 100644 --- a/gdb/command.h +++ b/gdb/command.h @@ -115,7 +115,7 @@ struct cmd_list_element void (*sfunc) (char *args, int from_tty, struct cmd_list_element * c); } function; -#define NO_FUNCTION ((void (*) PARAMS((char *args, int from_tty))) 0) +#define NO_FUNCTION ((void (*) (char *args, int from_tty)) 0) /* Documentation of this command (or help topic). First line is brief documentation; remaining lines form, with it, diff --git a/gdb/monitor.h b/gdb/monitor.h index 23fad577e4f..712a4c58e70 100644 --- a/gdb/monitor.h +++ b/gdb/monitor.h @@ -96,10 +96,10 @@ struct monitor_ops char *dump_registers; /* Command to dump all regs at once */ char *register_pattern; /* Pattern that picks out register from reg dump */ void (*supply_register) (char *name, int namelen, char *val, int vallen); - void (*load_routine) PARAMS ((serial_t desc, char *file, - int hashmark)); /* Download routine */ - int (*dumpregs) PARAMS ((void)); /* routine to dump all registers */ - int (*continue_hook) PARAMS ((void)); /* Emit the continue command */ + void (*load_routine) (serial_t desc, char *file, + int hashmark); /* Download routine */ + int (*dumpregs) (void); /* routine to dump all registers */ + int (*continue_hook) (void); /* Emit the continue command */ int (*wait_filter) (char *buf, /* Maybe contains registers */ int bufmax, int *response_length, -- 2.30.2