From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Wed, 30 Sep 2020 13:49:29 +0200 Subject: [PATCH v2 1/1] sandbox: redefine getc() In-Reply-To: <20200929185004.GO14816@bill-the-cat> References: <20200929184312.44941-1-xypron.glpk@gmx.de> <20200929185004.GO14816@bill-the-cat> Message-ID: <222783.1601466569@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Tom, In message <20200929185004.GO14816@bill-the-cat> you wrote: > > Wolfgang, I was wondering could we not, given the few callers of 'getc' > carefully change our internal usage / name to 'getchar', which is more > POSIX-like and have our EXPORT_FUNC line be: > EXPORT_FUNC(getc, int, getchar, void) I guess we could, indeed. > and that might be the clean solution here? Probably. I haven't tested this, though. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If I have seen further it is by standing on the shoulders of giants. - Isaac Newton, Letter to Robert Hooke, 5 February 1676