Browse Source

Correct old_vfprintf internal version and make it reloc free

Peter S. Mazinger 19 years ago
parent
commit
15d3dce627
1 changed files with 2 additions and 1 deletions
  1. 2 1
      libc/stdio/old_vfprintf.c

+ 2 - 1
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)