aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-06-04 00:41:10 +0000
committerKevin Buettner <kevinb@redhat.com>2000-06-04 00:41:10 +0000
commit507f3c78fb4a1235b731350d60f1bf0ce94b4175 (patch)
tree6ea9ac74469d05832c141119201193804a03f09c /gdb/command.c
parent450005e7c2e864ed0b7ab8c85947716cc707b98a (diff)
downloadgdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.zip
gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.gz
gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.bz2
Eliminate PARAMS from function pointer declarations.
Diffstat (limited to 'gdb/command.c')
-rw-r--r--gdb/command.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/command.c b/gdb/command.c
index 9f0e476..02ee474 100644
--- a/gdb/command.c
+++ b/gdb/command.c
@@ -84,7 +84,7 @@ struct cmd_list_element *
add_cmd (name, class, fun, doc, list)
char *name;
enum command_class class;
- void (*fun) PARAMS ((char *, int));
+ void (*fun) (char *, int);
char *doc;
struct cmd_list_element **list;
{
@@ -168,7 +168,7 @@ struct cmd_list_element *
add_abbrev_cmd (name, class, fun, doc, list)
char *name;
enum command_class class;
- void (*fun) PARAMS ((char *, int));
+ void (*fun) (char *, int);
char *doc;
struct cmd_list_element **list;
{
@@ -222,7 +222,7 @@ add_prefix_cmd (name, class, fun, doc, prefixlist, prefixname,
allow_unknown, list)
char *name;
enum command_class class;
- void (*fun) PARAMS ((char *, int));
+ void (*fun) (char *, int);
char *doc;
struct cmd_list_element **prefixlist;
char *prefixname;
@@ -243,7 +243,7 @@ add_abbrev_prefix_cmd (name, class, fun, doc, prefixlist, prefixname,
allow_unknown, list)
char *name;
enum command_class class;
- void (*fun) PARAMS ((char *, int));
+ void (*fun) (char *, int);
char *doc;
struct cmd_list_element **prefixlist;
char *prefixname;