Remove several warnings reported with W=1
authorAmbroise Vincent <ambroise.vincent@arm.com>
Wed, 13 Feb 2019 15:58:00 +0000 (15:58 +0000)
committerAmbroise Vincent <ambroise.vincent@arm.com>
Mon, 1 Apr 2019 09:43:42 +0000 (10:43 +0100)
commit609e053caabf0807a71243eec11f49120eaaab61
tree5f0a7641dcd9c8450f0f1a53083daf714c3c55dc
parentee80da114b9da8bd48e82ad0187c6534a2f11e71
Remove several warnings reported with W=1

Improved support for W=1 compilation flag by solving missing-prototypes
and old-style-definition warnings.

The libraries are compiling with warnings (which turn into errors with
the Werror flag).

Outside of libraries, some warnings cannot be fixed without heavy
structural changes.

Change-Id: I1668cf99123ac4195c2a6a1d48945f7a64c67f16
Signed-off-by: Ambroise Vincent <ambroise.vincent@arm.com>
21 files changed:
drivers/io/io_fip.c
include/drivers/arm/css/scmi.h
include/drivers/console.h
include/plat/arm/common/plat_arm.h
lib/libc/memchr.c
lib/libc/memcmp.c
lib/libc/memcpy.c
lib/libc/memset.c
plat/arm/board/fvp/fvp_pm.c
plat/arm/board/fvp/fvp_private.h
plat/arm/board/juno/juno_err.c
plat/arm/board/juno/juno_topology.c
plat/arm/board/sgi575/sgi575_plat.c
plat/arm/board/sgi575/sgi575_security.c
plat/arm/css/sgi/sgi_bl31_setup.c
plat/arm/css/sgi/sgi_interconnect.c
plat/arm/css/sgi/sgi_topology.c
plat/common/plat_spm_rd.c
plat/common/plat_spm_sp.c
services/std_svc/spm/spm_buffers.c
services/std_svc/spm/spm_main.c