aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2010-04-29 22:51:04 +0000
committerDoug Evans <dje@google.com>2010-04-29 22:51:04 +0000
commita26d8d1160b660d98248a2691b86e3cb32232a5e (patch)
tree0634afb1172c2cdc514a95cf26f91ebe28ff84d9 /gdb
parentf8624c62cccc17529dedf2ea5880ec5ef790dcf0 (diff)
downloadgdb-a26d8d1160b660d98248a2691b86e3cb32232a5e.zip
gdb-a26d8d1160b660d98248a2691b86e3cb32232a5e.tar.gz
gdb-a26d8d1160b660d98248a2691b86e3cb32232a5e.tar.bz2
* ser-base.h (reschedule): Delete prototype.
* ser-base.c (reschedule): Make static.
Diffstat (limited to 'gdb')
-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);