aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/ser-base.c2
-rw-r--r--gdb/ser-base.h1
3 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index d45b162..e766ba5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-29 Doug Evans <dje@google.com>
+
+ * ser-base.h (reschedule): Delete prototype.
+ * ser-base.c (reschedule): Make static.
+
2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* arm-linux-tdep.c (ARM_LINUX_JB_PC): Remove.
diff --git a/gdb/ser-base.c b/gdb/ser-base.c
index 6285342..6d45441 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 25a6d9c..005f93c 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);