testsuite: Fix gdb.arch/powerpc-prologue.c compilation
authorJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 11 Oct 2016 17:09:05 +0000 (19:09 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Tue, 11 Oct 2016 17:09:05 +0000 (19:09 +0200)
commit8f1a8fc4df2244f548d55fbecce20b7cd6f90e16
tree4f2118610af75a5c9f835600bb3176c8cbc9096d
parent16c85b5d14a04c275d3cb39b2029f3dc0f708531
testsuite: Fix gdb.arch/powerpc-prologue.c compilation

gcc-6.2.1

gdb compile failed, gdb/testsuite/gdb.arch/powerpc-prologue.c: In function 'main':
gdb/testsuite/gdb.arch/powerpc-prologue.c:32:3: warning: implicit declaration of function 'optimized_1' [-Wimplicit-function-declaration]
   optimized_1 ();
   ^~~~~~~~~~~

gdb/testsuite/ChangeLog
2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>

* gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.arch/powerpc-prologue.c