aboutsummaryrefslogtreecommitdiff
path: root/gdb/event-top.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-03-03 15:37:09 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-03-03 15:37:09 +0000
commit97bb9d91decf4be0e701ee0d4077f3f190c8b1c9 (patch)
tree87135d40e27ea236f755dd13cd1b607cab5b3ab0 /gdb/event-top.c
parent0ef33cd05d72011a4e9b96622167bc31ac512815 (diff)
downloadfsf-binutils-gdb-97bb9d91decf4be0e701ee0d4077f3f190c8b1c9.zip
fsf-binutils-gdb-97bb9d91decf4be0e701ee0d4077f3f190c8b1c9.tar.gz
fsf-binutils-gdb-97bb9d91decf4be0e701ee0d4077f3f190c8b1c9.tar.bz2
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.
Diffstat (limited to 'gdb/event-top.c')
-rw-r--r--gdb/event-top.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/gdb/event-top.c b/gdb/event-top.c
index 9e19d45..6122cba 100644
--- a/gdb/event-top.c
+++ b/gdb/event-top.c
@@ -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);
}