aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-bfin.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/solib-bfin.c')
-rw-r--r--gdb/solib-bfin.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/solib-bfin.c b/gdb/solib-bfin.c
index e380766..aa6f24a 100644
--- a/gdb/solib-bfin.c
+++ b/gdb/solib-bfin.c
@@ -28,4 +28,8 @@
#define FDPIC_EXEC_REGNUM BFIN_FDPIC_EXEC_REGNUM
#define LINKER_SYM(sym) "_"sym
+/* Provide a prototype to silence -Wmissing-prototypes and for init.c. */
+extern initialize_file_ftype
+_initialize_fdpic_solib;
+
#include "solib-fdpic.c"