Index: gdb/darwin-nat-info.c |
diff --git a/gdb/darwin-nat-info.c b/gdb/darwin-nat-info.c |
index 9170e14e9d0c42a8dec3da87bb087ff7c446f656..9741538f91873122fe17f0467e420725286a0f49 100644 |
--- a/gdb/darwin-nat-info.c |
+++ b/gdb/darwin-nat-info.c |
@@ -301,7 +301,7 @@ info_mach_ports_command (char *args, int from_tty) |
} |
-void |
+static void |
darwin_debug_port_info (task_t task, mach_port_t port) |
{ |
kern_return_t kret; |
@@ -843,6 +843,9 @@ info_mach_exceptions_command (char *args, int from_tty) |
} |
} |
+/* -Wmissing-prototypes */ |
+extern initialize_file_ftype _initialize_darwin_info_commands; |
+ |
void |
_initialize_darwin_info_commands (void) |
{ |