From: Joel Brobecker Date: Fri, 9 Mar 2012 00:31:07 +0000 (+0000) Subject: Add missing _initialize_ravenscar prototype. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8d037db9364781dee26b04913aea1abe06c74dd7;p=binutils-gdb.git Add missing _initialize_ravenscar prototype. gdb/ChangeLog: * ravenscar-thread.c (_initialize_ravenscar): Add prototype. --- 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 + + * ravenscar-thread.c (_initialize_ravenscar): Add prototype. + 2012-03-08 Jan Kratochvil 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. */