summaryrefslogtreecommitdiff
path: root/lib/libc/string
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/string
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/string')
-rw-r--r--lib/libc/string/strcasestr.c5
-rw-r--r--lib/libc/string/wcswidth.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/libc/string/strcasestr.c b/lib/libc/string/strcasestr.c
index a29f445231d..39ad98dbe94 100644
--- a/lib/libc/string/strcasestr.c
+++ b/lib/libc/string/strcasestr.c
@@ -1,4 +1,4 @@
-/* $NetBSD: strcasestr.c,v 1.1 2004/07/03 08:27:25 junyoung Exp $ */
+/* $NetBSD: strcasestr.c,v 1.2 2005/02/09 21:35:47 kleink Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,9 +34,10 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: strcasestr.c,v 1.1 2004/07/03 08:27:25 junyoung Exp $");
+__RCSID("$NetBSD: strcasestr.c,v 1.2 2005/02/09 21:35:47 kleink Exp $");
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
#include <assert.h>
#include <ctype.h>
#include <string.h>
diff --git a/lib/libc/string/wcswidth.c b/lib/libc/string/wcswidth.c
index 52f89da6405..bb7531badb7 100644
--- a/lib/libc/string/wcswidth.c
+++ b/lib/libc/string/wcswidth.c
@@ -1,4 +1,4 @@
-/* $NetBSD: wcswidth.c,v 1.2 2001/01/03 14:29:37 lukem Exp $ */
+/* $NetBSD: wcswidth.c,v 1.3 2005/02/09 21:35:47 kleink Exp $ */
/*-
* Copyright (c)1999 Citrus Project,
@@ -30,9 +30,10 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: wcswidth.c,v 1.2 2001/01/03 14:29:37 lukem Exp $");
+__RCSID("$NetBSD: wcswidth.c,v 1.3 2005/02/09 21:35:47 kleink Exp $");
#endif /* LIBC_SCCS and not lint */
+#include "namespace.h"
#include <assert.h>
#include <wchar.h>