From 6f5e93622126860eaa9c57ae1bd889c803f13168 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 9 Mar 2012 00:31:15 +0000 Subject: Add missing _initialize_ravenscar_sparc prototype. This is required now that we compile GDB with -Wmissing-prototype. gdb/ChangeLog: * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add prototype. --- gdb/ChangeLog | 5 +++++ gdb/ravenscar-sparc-thread.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index aa717ca..26ee14b 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2012-03-08 Joel Brobecker + * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add + prototype. + +2012-03-08 Joel Brobecker + * ravenscar-thread.c (_initialize_ravenscar): Add prototype. 2012-03-08 Jan Kratochvil diff --git a/gdb/ravenscar-sparc-thread.c b/gdb/ravenscar-sparc-thread.c index 93af256..9132109 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) { -- cgit v1.1