aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-06-10 01:32:12 +0000
committerKevin Buettner <kevinb@redhat.com>2000-06-10 01:32:12 +0000
commitdee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29 (patch)
treef9b5959bae0444386a18fb18f492221b0b8e3aad
parent4acafb8638134c5e22a6149cc9f5f019b23968f2 (diff)
downloadgdb-dee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29.zip
gdb-dee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29.tar.gz
gdb-dee8b1a1c52bb43245e6b0ac2958ea6de4f6ba29.tar.bz2
Eliminate PARAMS.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/command.h2
-rw-r--r--gdb/monitor.h8
3 files changed, 10 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a87342d..984cdf9 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-08 Kevin Buettner <kevinb@redhat.com>
+
+ * command.h, monitor.h: Eliminate use of PARAMS from these
+ files.
+
2000-06-08 Fernando Nasser <fnasser@cygnus.com>
* config/i386/tm-embed.h: New file. Specific for embedded targets
diff --git a/gdb/command.h b/gdb/command.h
index 7f5a6b2..469df9f 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 23fad57..712a4c5 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,