diff options
author | Joel Brobecker <brobecker@gnat.com> | 2012-03-09 00:31:07 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2012-03-09 00:31:07 +0000 |
commit | 8d037db9364781dee26b04913aea1abe06c74dd7 (patch) | |
tree | a993f5aff6e26136f101a9919099458e5cf90c84 /gdb/ravenscar-thread.c | |
parent | 987c5a110dd4cb04353be761d6f2c7bbd727ff6d (diff) | |
download | gdb-8d037db9364781dee26b04913aea1abe06c74dd7.zip gdb-8d037db9364781dee26b04913aea1abe06c74dd7.tar.gz gdb-8d037db9364781dee26b04913aea1abe06c74dd7.tar.bz2 |
Add missing _initialize_ravenscar prototype.
gdb/ChangeLog:
* ravenscar-thread.c (_initialize_ravenscar): Add prototype.
Diffstat (limited to 'gdb/ravenscar-thread.c')
-rw-r--r-- | gdb/ravenscar-thread.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c index 63ecad5..9b9e7fe 100644 --- a/gdb/ravenscar-thread.c +++ b/gdb/ravenscar-thread.c @@ -421,6 +421,9 @@ Support for Ravenscar task/thread switching is enabled\n")); Support for Ravenscar task/thread switching is disabled\n")); } +/* Provide a prototype to silence -Wmissing-prototypes. */ +extern void _initialize_ravenscar (void); + /* Module startup initialization function, automagically called by init.c. */ |