arm-trusted-firmware/include/stdlib
Sandrine Bailleux dad25049ce Enable type-checking of arguments passed to printf() et al.
This patch modifies the declarations of the functions printf() et al.
and adds the right GCC attribute to request the compiler to check
the type of the arguments passed to these functions against the given
format string. This will ensure that the compiler outputs warning
messages like the following whenever it detects an inconsistency:

 file.c:42: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’

It also fixes the type mismatch inconsistencies that it revealed
across the code base.

NOTE: THIS PATCH MAY FORCE PLATFORM PORTS OR SP/SPDS THAT USE THE
PRINTF FAMILY OF FUNCTIONS TO FIX ANY TYPE MISMATCH INCONSISTENCIES.

Change-Id: If36bb54ec7d6dd2cb4791d89b02a24ac13fd2df6
2015-03-06 13:07:43 +00:00
..
machine stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
sys stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
xlocale stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
assert.h Create local C library implementation (2/2) 2013-12-20 15:52:16 +00:00
inttypes.h stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
stddef.h Create local C library implementation (2/2) 2013-12-20 15:52:16 +00:00
stdio.h Enable type-checking of arguments passed to printf() et al. 2015-03-06 13:07:43 +00:00
stdlib.h stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
string.h stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
strings.h stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00
time.h stdlib: add missing features to build PolarSSL 2015-01-28 18:26:59 +00:00