summaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-03-09 00:31:06 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-03-09 00:31:06 +0000
commit9550653584a4a39c3ed0ab79af4292ed526f0337 (patch)
tree7b2bc9766f0e54478f982bfbb24a65cb17ab1b73 /gdb
parent58ca445b83eb5f6732124cd5a22d60c079b01d84 (diff)
downloadgdb-9550653584a4a39c3ed0ab79af4292ed526f0337.tar.gz
Add missing _initialize_ravenscar prototype.
gdb/ChangeLog: * ravenscar-thread.c (_initialize_ravenscar): Add prototype.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ravenscar-thread.c3
2 files changed, 7 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b77aaeda5dc..aa717ca2d31 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2012-03-08 Joel Brobecker <brobecker@adacore.com>
+
+ * ravenscar-thread.c (_initialize_ravenscar): Add prototype.
+
2012-03-08 Jan Kratochvil <jan.kratochvil@redhat.com>
Fix -Wmissing-prototypes build.
diff --git a/gdb/ravenscar-thread.c b/gdb/ravenscar-thread.c
index 63ecad5440a..9b9e7fe4bc3 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. */