This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[PATCH] top.c: no more PTR
- To: gdb-patches at sources dot redhat dot com
- Subject: [PATCH] top.c: no more PTR
- From: Elena Zannoni <ezannoni at cygnus dot com>
- Date: Tue, 17 Jul 2001 13:31:12 -0400
I just committed this mini cleanup.
Elena
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* top.c (catch_errors): Convert PTR to void * in parameters list.
(quit_cover): Ditto.
Index: top.c
===================================================================
RCS file: /cvs/src/src/gdb/top.c,v
retrieving revision 1.40
diff -u -p -r1.40 top.c
--- top.c 2001/07/16 15:50:51 1.40
+++ top.c 2001/07/17 17:22:14
@@ -378,7 +378,7 @@ return_to_top_level (enum return_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_erro
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.
*/