OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f06f4
)
- provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.
author
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 22 Dec 2006 14:03:06 +0000
(14:03 -0000)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 22 Dec 2006 14:03:06 +0000
(14:03 -0000)
Fixes undefined references to __fputc_unlocked when calling fputc().
libc/stdio/fputc.c
patch
|
blob
|
history
diff --git
a/libc/stdio/fputc.c
b/libc/stdio/fputc.c
index
8c80bff
..
fd68834
100644
(file)
--- a/
libc/stdio/fputc.c
+++ b/
libc/stdio/fputc.c
@@
-72,7
+72,9
@@
int __fputc_unlocked(int c, register FILE *stream)
}
libc_hidden_def(__fputc_unlocked)
+libc_hidden_proto(fputc_unlocked)
strong_alias(__fputc_unlocked,fputc_unlocked)
+libc_hidden_def(fputc_unlocked)
libc_hidden_proto(putc_unlocked)
strong_alias(__fputc_unlocked,putc_unlocked)