aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-03-10 18:55:33 -0500
committerMike Frysinger <vapier@gentoo.org>2022-11-11 01:44:13 +0700
commit7552a9f59e07baabeeb059fae0e2146635c08f47 (patch)
tree8ef6b7991abf6e5e21a234369d5b1d9568593904 /gdb
parent8d98f3c5719f6c6c7e5caf9879ca55569fd74d8b (diff)
downloadgdb-7552a9f59e07baabeeb059fae0e2146635c08f47.zip
gdb-7552a9f59e07baabeeb059fae0e2146635c08f47.tar.gz
gdb-7552a9f59e07baabeeb059fae0e2146635c08f47.tar.bz2
s:fdpic
Diffstat (limited to 'gdb')
-rw-r--r--gdb/solib-bfin.c4
-rw-r--r--gdb/solib-frv.c4
2 files changed, 8 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"
diff --git a/gdb/solib-frv.c b/gdb/solib-frv.c
index d1ef6b2..8022d6b 100644
--- a/gdb/solib-frv.c
+++ b/gdb/solib-frv.c
@@ -26,4 +26,8 @@
#define FDPIC_INTERP_REGNUM fdpic_loadmap_interp_regnum
#define FDPIC_EXEC_REGNUM fdpic_loadmap_exec_regnum
+/* Provide a prototype to silence -Wmissing-prototypes and for init.c. */
+extern initialize_file_ftype
+_initialize_fdpic_solib;
+
#include "solib-fdpic.c"