summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vsprintf.c
diff options
context:
space:
mode:
authorkleink <kleink@NetBSD.org>2005-02-09 21:35:46 +0000
committerkleink <kleink@NetBSD.org>2005-02-09 21:35:46 +0000
commitfd5cb0acea84d278e04e640d37ca2398f894991f (patch)
tree7491880dfdd2422b7764def72de04814feb1363e /lib/libc/stdio/vsprintf.c
parenta7126d64352edba69608f07191b9be56111e16f5 (diff)
A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked(). * Add internal names for arc4random(), endnetpath(), fhstatvfs(), fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(), uuid_create_nil(), uuid_is_nil(), and wcwidth(). * Include namespace.h where supposed to.
Diffstat (limited to 'lib/libc/stdio/vsprintf.c')
-rw-r--r--lib/libc/stdio/vsprintf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vsprintf.c b/lib/libc/stdio/vsprintf.c
index 36a4add6b90..916da550cca 100644
--- a/lib/libc/stdio/vsprintf.c
+++ b/lib/libc/stdio/vsprintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: vsprintf.c,v 1.13 2003/08/07 16:43:35 agc Exp $ */
+/* $NetBSD: vsprintf.c,v 1.14 2005/02/09 21:35:47 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)vsprintf.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: vsprintf.c,v 1.13 2003/08/07 16:43:35 agc Exp $");
+__RCSID("$NetBSD: vsprintf.c,v 1.14 2005/02/09 21:35:47 kleink Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -66,7 +66,7 @@ vsprintf(str, fmt, ap)
f._flags = __SWR | __SSTR;
f._bf._base = f._p = (unsigned char *)str;
f._bf._size = f._w = INT_MAX;
- ret = vfprintf_unlocked(&f, fmt, ap);
+ ret = __vfprintf_unlocked(&f, fmt, ap);
*f._p = 0;
return (ret);
}