From 1fd7cdc24b4a6f0c0fdd4771a88fcd1daae23231 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Tue, 6 Jul 2010 21:20:43 +0000 Subject: [PATCH] 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 * server.c (myresume): Make static. --- gdb/ChangeLog | 4 ++++ gdb/gdbserver/server.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * server.c (myresume): Make static. + 2010-07-06 Tom Tromey * 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]; -- 2.7.4