Add missing _initialize_ravenscar prototype.
authorJoel Brobecker <brobecker@gnat.com>
Fri, 9 Mar 2012 00:31:07 +0000 (00:31 +0000)
committerJoel Brobecker <brobecker@gnat.com>
Fri, 9 Mar 2012 00:31:07 +0000 (00:31 +0000)
gdb/ChangeLog:

        * ravenscar-thread.c (_initialize_ravenscar): Add prototype.

gdb/ChangeLog
gdb/ravenscar-thread.c

index b77aaeda5dc81b34a1f0f43190414a4677e780d6..aa717ca2d317e70a36b6bf756d60a284469cf48f 100644 (file)
@@ -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.
index 63ecad5440a39faa1bd4a68706222529ea09608f..9b9e7fe4bc31b447e4972d1055a3f734b11dc11f 100644 (file)
@@ -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.  */