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 b77aaed..aa717ca 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 63ecad5..9b9e7fe 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.  */