2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 3 Mar 2000 15:37:09 +0000 (15:37 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Fri, 3 Mar 2000 15:37:09 +0000 (15:37 +0000)
* defs.h (struct continuation_arg): Change type of field 'data'
  from PTR to void *.

* event-loop.h: Eliminate uses of PTR, use 'void *' instead.

* event-top.c: Ditto.

gdb/ChangeLog
gdb/defs.h
gdb/event-loop.h
gdb/event-top.c

index 86b901648440935273c080c694f3008089e6ef25..090179c59559805a5647ae72199ff54841e9cf3c 100644 (file)
@@ -1,3 +1,12 @@
+2000-03-03  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
+
+       * defs.h (struct continuation_arg): Change type of field 'data'
+       from PTR to void *.
+
+       * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
+
+       * event-top.c: Ditto.
+
 Fri Mar  3 15:39:34 2000  Andrew Cagney  <cagney@b1.cygnus.com>
 
        * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
index c4756f162ceaee781c5da32536e6b120ff0f4bcd..3a3ebf8c189844ff3f07a3c43fa3c62bd736a6cf 100644 (file)
@@ -613,7 +613,7 @@ extern void free_command_lines (struct command_line **);
 struct continuation_arg
   {
     struct continuation_arg *next;
-    PTR data;
+    void *data;
   };
 
 struct continuation
index 02c3fe308992244d23740bb9cd93867156d602c9..54e699066ec398185e19f3689ff9d554aa51483a 100644 (file)
@@ -57,7 +57,7 @@
 
    Corollary tasks are the creation and deletion of event sources. */
 
-typedef PTR gdb_client_data;
+typedef void *gdb_client_data;
 struct async_signal_handler;
 typedef void (handler_func) (int, gdb_client_data);
 typedef void (sig_handler_func) (gdb_client_data);
index 9e19d45e78141021db52780702bd300cb26ac502..6122cba8458e850e4739ba45bab8f3b5577cf4d3 100644 (file)
@@ -129,17 +129,17 @@ struct prompts the_prompts;
    handlers mark these functions as ready to be executed and the event
    loop, in a later iteration, calls them. See the function
    invoke_async_signal_handler. */
-PTR sigint_token;
+void *sigint_token;
 #ifdef SIGHUP
-PTR sighup_token;
+void *sighup_token;
 #endif
-PTR sigquit_token;
-PTR sigfpe_token;
+void *sigquit_token;
+void *sigfpe_token;
 #if defined(SIGWINCH) && defined(SIGWINCH_HANDLER)
-PTR sigwinch_token;
+void *sigwinch_token;
 #endif
 #ifdef STOP_SIGNAL
-PTR sigtstp_token;
+void *sigtstp_token;
 #endif
 
 /* Structure to save a partially entered command.  This is used when
@@ -525,8 +525,8 @@ command_handler (char *command)
        (struct continuation_arg *) xmalloc (sizeof (struct continuation_arg));
       arg1->next = arg2;
       arg2->next = NULL;
-      arg1->data = (PTR) time_at_cmd_start;
-      arg2->data = (PTR) space_at_cmd_start;
+      arg1->data = (void *) time_at_cmd_start;
+      arg2->data = (void *) space_at_cmd_start;
       add_continuation (command_line_handler_continuation, arg1);
     }
 
@@ -957,7 +957,7 @@ async_init_signals (void)
 }
 
 void
-mark_async_signal_handler_wrapper (PTR token)
+mark_async_signal_handler_wrapper (void *token)
 {
   mark_async_signal_handler ((struct async_signal_handler *) token);
 }
This page took 0.028556 seconds and 4 git commands to generate.