On Wed, Nov 10, 2021 at 09:39:12AM +0100, Jakub Jelinek wrote:
> Hi!
> 
> Jonathan reported and I've verified a
> In file included from ../../../libgcc/unwind-dw2.c:412:
> ./md-unwind-support.h:398:6: warning: no previous prototype for 
> ‘ppc_backchain_fallback’ [-Wmissing-prototypes]
>   398 | void ppc_backchain_fallback (struct _Unwind_Context *context, void *a)
>       |      ^~~~~~~~~~~~~~~~~~~~~~
> warning on powerpc*-linux* libgcc build.
> 
> All the other MD_* macro functions are static, so I think the following
> is the right thing rather than adding a previous prototype for
> ppc_backchain_fallback.
> 
> Bootstrapped/regtested on powerpc64le-linux and powerpc64-linux (the latter
> with -m32/-m64 testing), ok for trunk?

Yes please.  Thanks!


Segher


> 2021-11-09  Jakub Jelinek  <ja...@redhat.com>
> 
>       * config/rs6000/linux-unwind.h (ppc_back_fallback): Make it static,
>       formatting fix.

Reply via email to