summaryrefslogtreecommitdiff
path: root/libc/stdio/old_vfprintf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2006-01-15 18:40:17 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2006-01-15 18:40:17 +0000
commit15d3dce6277cde0d773300daf6cf39774498f904 (patch)
treec88e10e4db4dc1425d8d1ae30a3937379fbf7ab4 /libc/stdio/old_vfprintf.c
parent0189d4d8e2eeb550bf56c1e0a83459bd018647f8 (diff)
Correct old_vfprintf internal version and make it reloc free
Diffstat (limited to 'libc/stdio/old_vfprintf.c')
-rw-r--r--libc/stdio/old_vfprintf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c
index 9aed79934..ec71f8f1a 100644
--- a/libc/stdio/old_vfprintf.c
+++ b/libc/stdio/old_vfprintf.c
@@ -150,6 +150,7 @@ libc_hidden_proto(strlen)
libc_hidden_proto(strnlen)
libc_hidden_proto(memcpy)
libc_hidden_proto(putc_unlocked)
+libc_hidden_proto(__fputc_unlocked)
libc_hidden_proto(__glibc_strerror_r)
/* #undef __UCLIBC_HAS_FLOATS__ */
@@ -345,6 +346,7 @@ static const char u_spec[] = "%nbopxXudics";
/* u_radix[i] <-> u_spec[i+2] for unsigned entries only */
static const char u_radix[] = "\x02\x08\x10\x10\x10\x0a";
+libc_hidden_proto(vfprintf)
int vfprintf(FILE * __restrict op, register const char * __restrict fmt,
va_list ap)
{
@@ -715,5 +717,4 @@ int vfprintf(FILE * __restrict op, register const char * __restrict fmt,
return i;
}
-libc_hidden_proto(vfprintf)
libc_hidden_def(vfprintf)