From: Elena Zannoni Date: Tue, 17 Jul 2001 17:25:14 +0000 (+0000) Subject: 2001-07-17 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d0c8cdfbfd50818b2958a12932fc64c1fdd8f163;p=binutils-gdb.git 2001-07-17 Elena Zannoni * top.c (catch_errors): Convert PTR to void * in parameters list. (quit_cover): Ditto. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 7d64d80072b..be41aa89f49 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2001-07-17 Elena Zannoni + + * top.c (catch_errors): Convert PTR to void * in parameters list. + (quit_cover): Ditto. + 2001-07-17 Stephane Carrez * source.c (find_source_lines): Remove tui test, must be replaced diff --git a/gdb/top.c b/gdb/top.c index a749afeb084..4149719c334 100644 --- a/gdb/top.c +++ b/gdb/top.c @@ -378,7 +378,7 @@ return_to_top_level (enum return_reason reason) between utils.c and top.c? */ int -catch_errors (catch_errors_ftype *func, PTR args, char *errstring, +catch_errors (catch_errors_ftype *func, void * args, char *errstring, return_mask mask) { SIGJMP_BUF *saved_catch; @@ -512,7 +512,7 @@ catch_command_errors (catch_command_errors_ftype * command, gdb to use the event loop as the default command loop and we merge event-top.c into this file, top.c */ /* static */ int -quit_cover (PTR s) +quit_cover (void *s) { caution = 0; /* Throw caution to the wind -- we're exiting. This prevents asking the user dumb questions. */