diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-06-04 00:41:10 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-06-04 00:41:10 +0000 |
commit | 507f3c78fb4a1235b731350d60f1bf0ce94b4175 (patch) | |
tree | 6ea9ac74469d05832c141119201193804a03f09c /gdb/corefile.c | |
parent | 450005e7c2e864ed0b7ab8c85947716cc707b98a (diff) | |
download | binutils-gdb-507f3c78fb4a1235b731350d60f1bf0ce94b4175.tar.gz |
Eliminate PARAMS from function pointer declarations.
Diffstat (limited to 'gdb/corefile.c')
-rw-r--r-- | gdb/corefile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c index 97c3cfe3802..c8772de4c0a 100644 --- a/gdb/corefile.c +++ b/gdb/corefile.c @@ -51,7 +51,7 @@ static void call_extra_exec_file_hooks (char *filename); old code that assumed that only one hook could be set, and which called exec_file_display_hook directly. */ -typedef void (*hook_type) PARAMS ((char *)); +typedef void (*hook_type) (char *); hook_type exec_file_display_hook; /* the original hook */ static hook_type *exec_file_extra_hooks; /* array of additional hooks */ @@ -124,7 +124,7 @@ call_extra_exec_file_hooks (filename) void specify_exec_file_hook (hook) - void (*hook) PARAMS ((char *)); + void (*hook) (char *); { hook_type *new_array; |