aboutsummaryrefslogtreecommitdiff
path: root/gdb/command.h
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.h
parent450005e7c2e864ed0b7ab8c85947716cc707b98a (diff)
downloadfsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.zip
fsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.gz
fsf-binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.bz2
Eliminate PARAMS from function pointer declarations.
Diffstat (limited to 'gdb/command.h')
-rw-r--r--gdb/command.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/command.h b/gdb/command.h
index 9628323..f6c46e9 100644
--- a/gdb/command.h
+++ b/gdb/command.h
@@ -108,12 +108,11 @@ struct cmd_list_element
union
{
/* If type is not_set_cmd, call it like this: */
- void (*cfunc) PARAMS ((char *args, int from_tty));
+ void (*cfunc) (char *args, int from_tty);
/* If type is cmd_set or show_cmd, first set the variables, and
then call this. */
- void (*sfunc) PARAMS ((char *args, int from_tty,
- struct cmd_list_element * c));
+ void (*sfunc) (char *args, int from_tty, struct cmd_list_element * c);
}
function;
#define NO_FUNCTION ((void (*) PARAMS((char *args, int from_tty))) 0)
@@ -186,7 +185,7 @@ struct cmd_list_element
returned relative to this position. For example, suppose TEXT is "foo"
and we want to complete to "foobar". If WORD is "oo", return
"oobar"; if WORD is "baz/foo", return "baz/foobar". */
- char **(*completer) PARAMS ((char *text, char *word));
+ char **(*completer) (char *text, char *word);
/* Type of "set" or "show" command (or SET_NOT_SET if not "set"
or "show"). */