projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
initial version of mips (o32) port, based on work by Richard Pennington (rdp)
[musl]
/
src
/
stdio
/
getc_unlocked.c
diff --git
a/src/stdio/getc_unlocked.c
b/src/stdio/getc_unlocked.c
index
629223e
..
b38dad1
100644
(file)
--- a/
src/stdio/getc_unlocked.c
+++ b/
src/stdio/getc_unlocked.c
@@
-1,8
+1,9
@@
#include "stdio_impl.h"
#include "stdio_impl.h"
-int
getc_unlocked
(FILE *f)
+int
(getc_unlocked)
(FILE *f)
{
{
- return
f->rpos < f->rstop ? *f->rpos++ : __uflow
(f);
+ return
getc_unlocked
(f);
}
weak_alias (getc_unlocked, fgetc_unlocked);
}
weak_alias (getc_unlocked, fgetc_unlocked);
+weak_alias (getc_unlocked, _IO_getc_unlocked);