Fix missing-prototypes error for '_initialize_spu_nat'

This patch fixes this build error below:

../../binutils-gdb/gdb/spu-linux-nat.c:616:1: error: no previous prototype for ‘_initialize_spu_nat’ [-Werror=missing-prototypes]

gdb:

2014-01-07  Yao Qi  <yao@codesourcery.com>

	* spu-linux-nat.c (_initialize_spu_nat): Declare.
This commit is contained in:
Yao Qi 2014-01-07 17:28:48 +08:00
parent 9877c63c84
commit bd1f77885b
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2014-01-07 Yao Qi <yao@codesourcery.com>
* spu-linux-nat.c (_initialize_spu_nat): Declare.
2014-01-07 Joel Brobecker <brobecker@adacore.com>
* ada-valprint.c (print_field_values): Add "language" parameter.

View File

@ -610,6 +610,8 @@ spu_can_use_hw_breakpoint (int type, int cnt, int othertype)
return 0;
}
/* -Wmissing-prototypes */
extern initialize_file_ftype _initialize_spu_nat;
/* Initialize SPU native target. */
void