diff options
author | Andrew Cagney <cagney@redhat.com> | 2002-05-19 16:56:03 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2002-05-19 16:56:03 +0000 |
commit | ae44c0c47d93819fe4b7e1027b949c6c213b083c (patch) | |
tree | 5a9541fb0282aeb9f2d08e873751fa42a2eeab90 /gdb | |
parent | f462a9ea21643369d0dd4327c69c0a802cb3da35 (diff) | |
download | gdb-ae44c0c47d93819fe4b7e1027b949c6c213b083c.zip gdb-ae44c0c47d93819fe4b7e1027b949c6c213b083c.tar.gz gdb-ae44c0c47d93819fe4b7e1027b949c6c213b083c.tar.bz2 |
* remote.c (remote_start_remote): Replace PTR with void pointer.
(sigint_remote_twice_token, sigint_remote_token): Ditto. Make
static.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 6 | ||||
-rw-r--r-- | gdb/remote.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 623c9b2..b390962 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,9 @@ +2002-05-19 Andrew Cagney <ac131313@redhat.com> + + * remote.c (remote_start_remote): Replace PTR with void pointer. + (sigint_remote_twice_token, sigint_remote_token): Ditto. Make + static. + 2002-05-18 Andrew Cagney <ac131313@redhat.com> * gdb_indent.sh: Allow the script to be run in the sim directory. diff --git a/gdb/remote.c b/gdb/remote.c index c3f40fe..9427732 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -86,7 +86,7 @@ static void remote_resume (ptid_t ptid, int step, enum target_signal siggnal); static void remote_async_resume (ptid_t ptid, int step, enum target_signal siggnal); -static int remote_start_remote (PTR); +static int remote_start_remote (void *); static void remote_open (char *name, int from_tty); static void remote_async_open (char *name, int from_tty); @@ -970,8 +970,8 @@ show_remote_protocol_binary_download_cmd (char *args, /* Tokens for use by the asynchronous signal handlers for SIGINT */ -PTR sigint_remote_twice_token; -PTR sigint_remote_token; +static void *sigint_remote_twice_token; +static void *sigint_remote_token; /* These are pointers to hook functions that may be set in order to modify resume/wait behavior for a particular architecture. */ @@ -2114,7 +2114,7 @@ remote_start_remote_dummy (void *dummy) } static int -remote_start_remote (PTR dummy) +remote_start_remote (void *dummy) { immediate_quit++; /* Allow user to interrupt it */ |