aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-darwin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-darwin.c')
-rw-r--r--gdb/solib-darwin.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gdb/solib-darwin.c b/gdb/solib-darwin.c
index 93a6aae..4f2cda6 100644
--- a/gdb/solib-darwin.c
+++ b/gdb/solib-darwin.c
@@ -299,7 +299,7 @@ darwin_current_sos (void)
/* Return 1 if PC lies in the dynamic symbol resolution code of the
run time loader. */
-int
+static int
darwin_in_dynsym_resolve_code (CORE_ADDR pc)
{
return 0;
@@ -487,6 +487,9 @@ darwin_bfd_open (char *pathname)
struct target_so_ops darwin_so_ops;
+/* -Wmissing-prototypes */
+extern initialize_file_ftype _initialize_darwin_solib;
+
void
_initialize_darwin_solib (void)
{