summaryrefslogtreecommitdiff
path: root/libc/stdio/old_vfprintf.c
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:38:38 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-12-16 00:38:38 +0000
commitd482ef60da96645599b808bb74fe014e1ab4671e (patch)
treecf7028139dad0bcca533c61f5a3fbbcec60696ea /libc/stdio/old_vfprintf.c
parent59bf5cbe99873625ce3d5a9b984e9b98e659eefa (diff)
Get rid of warnings, use internals, create new hidden versions
Diffstat (limited to 'libc/stdio/old_vfprintf.c')
-rw-r--r--libc/stdio/old_vfprintf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdio/old_vfprintf.c b/libc/stdio/old_vfprintf.c
index 8b54ca849..ce6bde1a4 100644
--- a/libc/stdio/old_vfprintf.c
+++ b/libc/stdio/old_vfprintf.c
@@ -166,7 +166,7 @@
#ifdef __STDIO_BUFFERS
-#define PUTC(C,F) putc_unlocked((C),(F))
+#define PUTC(C,F) __putc_unlocked((C),(F))
#define OUTNSTR _outnstr
#define _outnstr(stream, string, len) __stdio_fwrite(string, len, stream)
@@ -199,7 +199,7 @@ static void _outnstr(FILE *stream, const unsigned char *s, size_t n)
static void putc_unlocked_sprintf(int c, __FILE_vsnprintf *f)
{
if (!__STDIO_STREAM_IS_FAKE_VSNPRINTF_NB(&f->f)) {
- putc_unlocked(c, &f->f);
+ __putc_unlocked(c, &f->f);
} else if (f->bufpos < f->bufend) {
*f->bufpos++ = c;
}