[AArch64/AArch64-4.7] Fix warning - No previous prototype for aarch64_init_simd_builtins.
Thu Feb 28 09:35:00 GMT 2013
aarch64_init_simd_buitlins is not declared with a prototype, but it
doesn't need one as it should be declared static.
This patch fixes the warning:
config/aarch64/aarch64-builtins.c:314:1: warning: no previous prototype for ‘aarch64_init_simd_builtins’ [-Wmissing-prototypes]
Which is hidden when building with g++, but looks like:
config/aarch64/aarch64-builtins.c:313:1: warning: no previous declaration for ‘aarch64_init_simd_builtins’ [-Wmissing-declarations]
Regression tested with no regressions on aarch64-none-elf.
OK to apply to trunk and aarch64-4.7-branch?
2013-02-28 James Greenhalgh <firstname.lastname@example.org>
(aarch64_init_simd_builtins): Make static.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 461 bytes
Desc: not available
More information about the Gcc-patches