aboutsummaryrefslogtreecommitdiff
path: root/gdb/corefile.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/corefile.c
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/corefile.c')
-rw-r--r--gdb/corefile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/corefile.c b/gdb/corefile.c
index 97c3cfe..c8772de 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;