From 507f3c78fb4a1235b731350d60f1bf0ce94b4175 Mon Sep 17 00:00:00 2001 From: Kevin Buettner Date: Sun, 4 Jun 2000 00:41:10 +0000 Subject: Eliminate PARAMS from function pointer declarations. --- gdb/corefile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/corefile.c') 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; -- cgit v1.1