From: Mark Kettenis Date: Thu, 12 Apr 2012 10:32:23 +0000 (+0000) Subject: * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=15add3f5e46f265033c3c03c375559682e4ea268;p=binutils-gdb.git * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ffc4e1ab37b..0262d6f6c62 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 0cc6d8dad9f..7bc906f70e9 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) {