diff options
author | Joel Brobecker <brobecker@gnat.com> | 2010-07-06 21:20:43 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2010-07-06 21:20:43 +0000 |
commit | 1fd7cdc24b4a6f0c0fdd4771a88fcd1daae23231 (patch) | |
tree | 3f67e56a19e47772823e0a310fa2f23ecb8d2e9a /gdb | |
parent | f5296ddc5e7b7220d491a3190aabf22343579112 (diff) | |
download | fsf-binutils-gdb-1fd7cdc24b4a6f0c0fdd4771a88fcd1daae23231.zip fsf-binutils-gdb-1fd7cdc24b4a6f0c0fdd4771a88fcd1daae23231.tar.gz fsf-binutils-gdb-1fd7cdc24b4a6f0c0fdd4771a88fcd1daae23231.tar.bz2 |
Make server.c:myresume static.
I just happened to notice that this function was exclusively used in
server.c, and thus could be made static.
2010-07-06 Joel Brobecker <brobecker@adacore.com>
* server.c (myresume): Make static.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/gdbserver/server.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 2baef12..4bb3be4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2010-07-06 Joel Brobecker <brobecker@adacore.com> + + * server.c (myresume): Make static. + 2010-07-06 Tom Tromey <tromey@redhat.com> * configure, config.in: Rebuild. diff --git a/gdb/gdbserver/server.c b/gdb/gdbserver/server.c index e666684..226d123 100644 --- a/gdb/gdbserver/server.c +++ b/gdb/gdbserver/server.c @@ -2035,7 +2035,7 @@ handle_v_requests (char *own_buf, int packet_len, int *new_packet_len) /* Resume inferior and wait for another event. In non-stop mode, don't really wait here, but return immediatelly to the event loop. */ -void +static void myresume (char *own_buf, int step, int sig) { struct thread_resume resume_info[2]; |