From a26d8d1160b660d98248a2691b86e3cb32232a5e Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Thu, 29 Apr 2010 22:51:04 +0000 Subject: [PATCH] * ser-base.h (reschedule): Delete prototype. * ser-base.c (reschedule): Make static. --- gdb/ChangeLog | 5 +++++ gdb/ser-base.c | 2 +- gdb/ser-base.h | 1 - 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index d45b162b9fa..e766ba55dc8 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2010-04-29 Doug Evans + + * ser-base.h (reschedule): Delete prototype. + * ser-base.c (reschedule): Make static. + 2010-04-29 Matthew Gretton-Dann * arm-linux-tdep.c (ARM_LINUX_JB_PC): Remove. diff --git a/gdb/ser-base.c b/gdb/ser-base.c index 6285342e7c2..6d4544130d5 100644 --- a/gdb/ser-base.c +++ b/gdb/ser-base.c @@ -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)) diff --git a/gdb/ser-base.h b/gdb/ser-base.h index 25a6d9c4328..005f93c7596 100644 --- a/gdb/ser-base.h +++ b/gdb/ser-base.h @@ -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); -- 2.30.2