diff options
| author | kleink <kleink@NetBSD.org> | 2005-02-09 21:35:46 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2005-02-09 21:35:46 +0000 |
| commit | fd5cb0acea84d278e04e640d37ca2398f894991f (patch) | |
| tree | 7491880dfdd2422b7764def72de04814feb1363e /lib/libc/stdio/vasprintf.c | |
| parent | a7126d64352edba69608f07191b9be56111e16f5 (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/vasprintf.c')
| -rw-r--r-- | lib/libc/stdio/vasprintf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdio/vasprintf.c b/lib/libc/stdio/vasprintf.c index ecea243e75e..340ec5956ac 100644 --- a/lib/libc/stdio/vasprintf.c +++ b/lib/libc/stdio/vasprintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: vasprintf.c,v 1.9 2003/01/18 11:29:59 thorpej Exp $ */ +/* $NetBSD: vasprintf.c,v 1.10 2005/02/09 21:35:47 kleink Exp $ */ /* * Copyright (c) 1997 Todd C. Miller <Todd.Miller@courtesan.com> @@ -29,7 +29,7 @@ #include <sys/cdefs.h> #if defined(LIBC_SCCS) && !defined(lint) -__RCSID("$NetBSD: vasprintf.c,v 1.9 2003/01/18 11:29:59 thorpej Exp $"); +__RCSID("$NetBSD: vasprintf.c,v 1.10 2005/02/09 21:35:47 kleink Exp $"); #endif /* LIBC_SCCS and not lint */ #include <assert.h> @@ -60,7 +60,7 @@ vasprintf(str, fmt, ap) if (f._bf._base == NULL) goto err; f._bf._size = f._w = 127; /* Leave room for the NUL */ - ret = vfprintf_unlocked(&f, fmt, ap); + ret = __vfprintf_unlocked(&f, fmt, ap); if (ret == -1) goto err; *f._p = '\0'; |
