From c381a3f69abc90c5117dbb9d425149d24c42fd6e Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Wed, 14 Mar 2012 01:46:59 +0000 Subject: Fix -Wmissing-prototypes build warnings on Darwin. gdb/ 2012-03-13 Josh Matthews * darwin-nat-info.c (_initialize_darwin_info_commands): Add prototype. (darwin_debug_port_info): Make static. * darwin-nat.c (_initialize_darwin_inferior): Add prototype. * machoread.c (_initialize_machoread): Add prototype. * i386-darwin-nat.c (i386_darwin_dr_set, i386_darwin_dr_get) (i386_darwin_set_control, i386_darwin_get_control) i386_darwin_dr_set_addr, i386_darwin_get_addr) i386_darwin_get_status, i386_darwin_get_control): Comment out with HW_WATCHPOINT_NOT_YET_ENABLED macro. --- gdb/darwin-nat.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/darwin-nat.c') diff --git a/gdb/darwin-nat.c b/gdb/darwin-nat.c index 0feebe3..de661a3 100644 --- a/gdb/darwin-nat.c +++ b/gdb/darwin-nat.c @@ -2015,6 +2015,9 @@ darwin_supports_multi_process (void) return 1; } +/* -Wmissing-prototypes */ +extern initialize_file_ftype _initialize_darwin_inferior; + void _initialize_darwin_inferior (void) { -- cgit v1.1