From 15d3dce6277cde0d773300daf6cf39774498f904 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Sun, 15 Jan 2006 18:40:17 +0000 Subject: Correct old_vfprintf internal version and make it reloc free --- libc/stdio/old_vfprintf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libc') 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) -- cgit v1.2.3