commit | c4954fb751d06fb1ba3c3f3bf71e2f00495af41e | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | Wed Oct 07 18:11:48 2020 +0200 |
committer | Tom Rini <trini@konsulko.com> | Thu Oct 22 09:54:53 2020 -0400 |
tree | 8e61521f5bd9d6e01af762785307ad7c84d91c43 | |
parent | 2e5ca3112996234a86a8381c8c59e43a447a1d48 [diff] |
common: rename getc() to getchar() The sandbox is built with the SDL2 library with invokes the X11 library which in turn calls getc(). But getc() in glibc is defined as int getc(FILE *) This does not match our definition. int getc(void) The sandbox crashes when called with parameter -l. Rename our library symbol getc() to getchar(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>