This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] top.c: no more PTR



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.
  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]