2001-07-17 Elena Zannoni <ezannoni@redhat.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 17 Jul 2001 17:25:14 +0000 (17:25 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 17 Jul 2001 17:25:14 +0000 (17:25 +0000)
* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.

gdb/ChangeLog
gdb/top.c

index 7d64d80..be41aa8 100644 (file)
@@ -1,3 +1,8 @@
+2001-07-17  Elena Zannoni  <ezannoni@redhat.com>
+
+       * top.c (catch_errors): Convert PTR to void * in parameters list.
+       (quit_cover): Ditto.
+
 2001-07-17  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
        * source.c (find_source_lines): Remove tui test, must be replaced
index a749afe..4149719 100644 (file)
--- 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.  */