diff options
author | Mark Kettenis <kettenis@gnu.org> | 2012-04-12 10:32:23 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@gnu.org> | 2012-04-12 10:32:23 +0000 |
commit | 15add3f5e46f265033c3c03c375559682e4ea268 (patch) | |
tree | 16c592c2d8c086be0ead65cc7833cd95b64da97a | |
parent | 465cb9fba7be3d6b6e85d07f1c7a5973c61b51ff (diff) | |
download | gdb-15add3f5e46f265033c3c03c375559682e4ea268.zip gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.gz gdb-15add3f5e46f265033c3c03c375559682e4ea268.tar.bz2 |
* i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/i386bsd-nat.c | 3 |
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) { |