Home GnuPG

Fix "'inline' is not at beginning of declaration" warnings

Description

Fix "'inline' is not at beginning of declaration" warnings

* cipher/chacha20-ppc.c (chacha20_ppc_blocks1)
(chacha20_ppc_blocks4, chacha20_poly1305_ppc_blocks4): Move
'ASM_FUNC_ATTR_INLINE' right after 'static'.
* cipher/sha256-ppc.c (sha256_transform_ppc): Likewise.
* cipher/sha512-ppc.c (sha512_transform_ppc): Likewise.

Patch fixes these GCC warnings in PowerPC implementations:
warning: 'inline' is not at beginning of declaration [-Wold-style-declaration]

  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Mar 1 2023, 10:36 AM
Parents
rC66bae697a853: Improve PPC target function attribute checks
Branches
Unknown
Tags
Unknown