Caesar Wang has uploaded a new change for review. ( https://review.coreboot.org/19622 )
Change subject: src/include: remove the __ROMCC__ to enable snprintf ......................................................................
src/include: remove the __ROMCC__ to enable snprintf
BRANCH=none BUG=b:36666655 TEST=boot from bob
Change-Id: I6966dc8ebc911b954bc5ea8981df093df226dd6c Signed-off-by: Caesar Wang wxt@rock-chips.com --- M src/include/string.h 1 file changed, 0 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/22/19622/1
diff --git a/src/include/string.h b/src/include/string.h index 7597323..f50bc07 100644 --- a/src/include/string.h +++ b/src/include/string.h @@ -15,10 +15,7 @@ void *memset(void *s, int c, size_t n); int memcmp(const void *s1, const void *s2, size_t n); void *memchr(const void *s, int c, size_t n); -#if !defined(__ROMCC__) int snprintf(char *buf, size_t size, const char *fmt, ...); -#endif - // simple string functions
static inline size_t strnlen(const char *src, size_t max)