diff options
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/ravenscar-sparc-thread.c | 3 |
2 files changed, 8 insertions, 0 deletions
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 <brobecker@adacore.com> + * ravenscar-sparc-thread.c (_initialize_ravenscar_sparc): Add + prototype. + +2012-03-08 Joel Brobecker <brobecker@adacore.com> + * ravenscar-thread.c (_initialize_ravenscar): Add prototype. 2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com> 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) { |