From 9550653584a4a39c3ed0ab79af4292ed526f0337 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Fri, 9 Mar 2012 00:31:06 +0000 Subject: Add missing _initialize_ravenscar prototype. gdb/ChangeLog: * ravenscar-thread.c (_initialize_ravenscar): Add prototype. --- gdb/ravenscar-thread.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gdb/ravenscar-thread.c') 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. */ -- cgit v1.2.1