aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2012-04-12 10:32:23 +0000
committerMark Kettenis <kettenis@gnu.org>2012-04-12 10:32:23 +0000
commit15add3f5e46f265033c3c03c375559682e4ea268 (patch)
tree16c592c2d8c086be0ead65cc7833cd95b64da97a
parent465cb9fba7be3d6b6e85d07f1c7a5973c61b51ff (diff)
downloadgdb-15add3f5e46f265033c3c03c375559682e4ea268.zip
gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.gz
gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.bz2
* i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/i386bsd-nat.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index ffc4e1a..0262d6f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-04-12 Mark Kettenis <kettenis@gnu.org>
+
+ * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
+
2012-04-12 Doug Evans <dje@google.com>
* dwarf2read.c (create_all_type_units): Renamed from
diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c
index 0cc6d8d..7bc906f 100644
--- a/gdb/i386bsd-nat.c
+++ b/gdb/i386bsd-nat.c
@@ -331,6 +331,9 @@ i386bsd_dr_get_control (void)
#endif /* PT_GETDBREGS */
+/* Provide a prototype to silence -Wmissing-prototypes. */
+void _initialize_i386bsd_nat (void);
+
void
_initialize_i386bsd_nat (void)
{