]> git.sur5r.net Git - u-boot/commit
Add some standard headers external code might need
authorGabe Black <gabeblack@chromium.org>
Wed, 15 Oct 2014 10:38:31 +0000 (04:38 -0600)
committerTom Rini <trini@ti.com>
Mon, 27 Oct 2014 15:04:01 +0000 (11:04 -0400)
commit4166ecb247a1ec9f906313428e8b9059c9f2b619
tree41f2fbbbc887d8d31788b7b087ed46c1d660db11
parent0d296cc2d3b8e2ffa46b4a93d1398fa6bf85b504
Add some standard headers external code might need

inttypes.h defines format specifiers for printf which work with data types of
particular sizes. stdlib.h is currently just a passthrough to malloc.h which
has declarations of the various *alloc functions.

Add the required #define to common.h so that these printf format specifiers
will be made available.

Signed-off-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Gabe Black <gabeblack@chromium.org>
Tested-by: Gabe Black <gabeblack@chromium.org>
Reviewed-by: Bill Richardson <wfrichar@google.com>
Signed-off-by: Simon Glass <sjg@chromium.org>
(Replaced with a GPL version from glibc)
include/common.h
include/inttypes.h [new file with mode: 0644]
include/stdlib.h [new file with mode: 0644]