mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
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>
This commit is contained in:
parent
8d5d97cb28
commit
c670aeee3d
17 changed files with 58 additions and 58 deletions
|
@ -5,7 +5,7 @@
|
|||
#include <linux/compiler.h>
|
||||
|
||||
/* stdin */
|
||||
int getc(void);
|
||||
int getchar(void);
|
||||
int tstc(void);
|
||||
|
||||
/* stdout */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue