From 15add3f5e46f265033c3c03c375559682e4ea268 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Thu, 12 Apr 2012 10:32:23 +0000 Subject: [PATCH] * i386bsd-nat.c (_initialize_i386bsd_nat): Add missing prototype. --- gdb/ChangeLog | 4 ++++ gdb/i386bsd-nat.c | 3 +++ 2 files changed, 7 insertions(+) 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 + + * 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 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) { -- 2.7.4