diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ffc4e1ab37..0262d6f6c6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2012-04-12 Mark Kettenis + + * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. + 2012-04-12 Doug Evans * dwarf2read.c (create_all_type_units): Renamed from diff --git a/gdb/i386bsd-nat.c b/gdb/i386bsd-nat.c index 0cc6d8dad9..7bc906f70e 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) {