This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[commit] make ser-base.c:reschedule static
- From: dje at google dot com (Doug Evans)
- To: gdb-patches at sourceware dot org
- Date: Thu, 29 Apr 2010 15:52:37 -0700 (PDT)
- Subject: [commit] make ser-base.c:reschedule static
Hi.
fyi, I've checked this in.
2010-04-29 Doug Evans <dje@google.com>
* ser-base.h (reschedule): Delete prototype.
* ser-base.c (reschedule): Make static.
Index: ser-base.c
===================================================================
RCS file: /cvs/src/src/gdb/ser-base.c,v
retrieving revision 1.17
diff -u -p -r1.17 ser-base.c
--- ser-base.c 20 Apr 2010 06:06:38 -0000 1.17
+++ ser-base.c 29 Apr 2010 22:49:06 -0000
@@ -63,7 +63,7 @@ enum {
the need to make redundant calls into the event-loop - the next
scheduled task is only changed when needed. */
-void
+static void
reschedule (struct serial *scb)
{
if (serial_is_async_p (scb))
Index: ser-base.h
===================================================================
RCS file: /cvs/src/src/gdb/ser-base.h,v
retrieving revision 1.9
diff -u -p -r1.9 ser-base.h
--- ser-base.h 1 Jan 2010 07:31:41 -0000 1.9
+++ ser-base.h 29 Apr 2010 22:49:06 -0000
@@ -26,7 +26,6 @@ struct ui_file;
extern int generic_readchar (struct serial *scb, int timeout,
int (*do_readchar) (struct serial *scb,
int timeout));
-extern void reschedule (struct serial *scb);
extern int ser_base_flush_output (struct serial *scb);
extern int ser_base_flush_input (struct serial *scb);
extern int ser_base_send_break (struct serial *scb);