diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-02 12:35:45 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2008-04-02 12:35:45 +0000 |
commit | 0a89625f55ac3b220b89fe7f122e98ef49af925b (patch) | |
tree | 660b365fd89bcffcc0de823141b1d6ae1c4ceb34 /payloads/libpayload/include | |
parent | 2b85b6311f1b7497da3484dc9369e80c9140ae5c (diff) | |
download | coreboot-0a89625f55ac3b220b89fe7f122e98ef49af925b.tar.xz |
Add missing snprintf() to libc/printf.c (trivial).
This is also taken from the HelenOS project.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3210 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r-- | payloads/libpayload/include/libpayload.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/payloads/libpayload/include/libpayload.h b/payloads/libpayload/include/libpayload.h index 251c79f257..fb3403a005 100644 --- a/payloads/libpayload/include/libpayload.h +++ b/payloads/libpayload/include/libpayload.h @@ -110,6 +110,7 @@ void *memmove(void *dst, const void *src, size_t n); int memcmp(const char *s1, const char *s2, size_t len); /* libc/printf.c */ +int snprintf(char *str, size_t size, const char *fmt, ...); int sprintf(char *str, const char *fmt, ...); int vsnprintf(char *str, size_t size, const char *fmt, va_list ap); int vsprintf(char *str, const char *fmt, va_list ap); |