diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-09 00:31:15 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-09 00:31:15 +0000 |
commit | 6f5e93622126860eaa9c57ae1bd889c803f13168 (patch) | |
tree | f7ac3a2c723e3e908d7813c46b248b9ab53fbf77 /gdb | |
parent | 8d037db9364781dee26b04913aea1abe06c74dd7 (diff) | |
download | gdb-6f5e93622126860eaa9c57ae1bd889c803f13168.zip gdb-6f5e93622126860eaa9c57ae1bd889c803f13168.tar.gz gdb-6f5e93622126860eaa9c57ae1bd889c803f13168.tar.bz2 |
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.
Diffstat (limited to 'gdb')
-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) { |