summaryrefslogtreecommitdiff
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
commit59699d8b0b3dacdc6225098eca6b4098ec4876cf (patch)
tree586da73f64c2c36999c0e8de58a8c4d4a5d14c07 /gdb/corefile.c
parenta30bce9162fdd643b4e14a7e032042a7438995a5 (diff)
downloadgdb-59699d8b0b3dacdc6225098eca6b4098ec4876cf.tar.gz
Eliminate PARAMS from function pointer declarations.gdb-post-params-removal-2000-06-04
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 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;