Displaying 1 result from an estimated 1 matches for "needslow".
Did you mean:
needsgot
2012 Jul 02
0
[klibc:master] [OUTPUT] Make outc an inline function
...>
AuthorDate: Thu, 7 Jul 2011 15:20:29 +0800
Committer: maximilian attems <max at stro.at>
CommitDate: Mon, 2 Jul 2012 10:43:24 +0200
[klibc] [OUTPUT] Make outc an inline function
As "gcc -pedantic" warns, ISO C forbids conditional expressions with
only one void side. So the (needslow ? slowpath() : fastpath) code
for outc in the !USE_GLIBC_STDIO case might not be portable.
More importantly, it's hard to read. Rip it out and replace it
with an inline function which should generate the same code.
Reported-by: Szabolcs Nagy <nsz at port70.net>
Signed-off-by: Jonathan...