Index: gdb/ravenscar-sparc-thread.c |
diff --git a/gdb/ravenscar-sparc-thread.c b/gdb/ravenscar-sparc-thread.c |
index 93af256b516713d8c321793dc8d63e14704acb18..9132109d62bedf6c502837c465ecb5cf00510691 100644 |
--- a/gdb/ravenscar-sparc-thread.c |
+++ b/gdb/ravenscar-sparc-thread.c |
@@ -175,6 +175,9 @@ ravenscar_sparc_store_registers (struct regcache *regcache, int regnum) |
buf_size); |
} |
+/* Provide a prototype to silence -Wmissing-prototypes. */ |
+extern void _initialize_ravenscar_sparc (void); |
+ |
void |
_initialize_ravenscar_sparc (void) |
{ |