diff options
author | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-17 17:25:14 +0000 |
---|---|---|
committer | Elena Zannoni <ezannoni@kwikemart.cygnus.com> | 2001-07-17 17:25:14 +0000 |
commit | 5e32a5d2a69b3414c3500ba30542bd569116c20e (patch) | |
tree | d582e485bd4989fd6c9cb3ea3aac9ee8e0b26720 /gdb/top.c | |
parent | 9d769322ae73063559acea3aa61ea721c5421df3 (diff) | |
download | gdb-5e32a5d2a69b3414c3500ba30542bd569116c20e.tar.gz |
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.
Diffstat (limited to 'gdb/top.c')
-rw-r--r-- | gdb/top.c | 4 |
1 files changed, 2 insertions, 2 deletions
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. */ |