diff options
author | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-06-24 11:16:10 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2010-06-24 11:16:10 +0000 |
commit | 980a69b8c20ad975553980ccb320bf25ff7c0b16 (patch) | |
tree | 65b64bf8ac67db37bc8a868cc246ce41925c5915 /payloads/libpayload/libc/printf.c | |
parent | 815c47f7b458f7342195ffe99e994e2757df96c1 (diff) |
Attached patch moves functions out of the huge libpayload.h into headers
according to libc/posix traditions, to simplify porting applications to
payloads.
It also adds a couple of functions:
strcasecmp, strncasecmp, strcat, strtol, strspn, strcspn, strtok_r,
strtok, perror, exit, getpagesize
Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5643 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/libc/printf.c')
-rw-r--r-- | payloads/libpayload/libc/printf.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/libc/printf.c b/payloads/libpayload/libc/printf.c index d53e99a8fe..04d39319bc 100644 --- a/payloads/libpayload/libc/printf.c +++ b/payloads/libpayload/libc/printf.c @@ -34,6 +34,7 @@ */ #include <libpayload.h> +#include <ctype.h> /** Structure for specifying output methods for different printf clones. */ struct printf_spec { |