From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 7 Oct 2020 17:25:12 -0400 Subject: [PATCH 1/1] common: rename getc() to getchar() In-Reply-To: <20201007161148.59389-1-xypron.glpk@gmx.de> References: <20201007161148.59389-1-xypron.glpk@gmx.de> Message-ID: <20201007212512.GA14816@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 07, 2020 at 06:11:48PM +0200, Heinrich Schuchardt wrote: > 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 Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: