summaryrefslogtreecommitdiff
path: root/lib/libc/include
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2006-08-12 23:49:53 +0000
committerchristos <christos@NetBSD.org>2006-08-12 23:49:53 +0000
commitcbfb283c6503db5eeb83d9482cdc38463b6f8477 (patch)
tree56a41e5ee895b61386403ee79b9e26b7a5932531 /lib/libc/include
parent448cb4aa28f4f44961d567175b49589307ef6ea5 (diff)
- Add strndup and stresep
- Use stresep so in fstab so that we can mount paths with white space in them.
Diffstat (limited to 'lib/libc/include')
-rw-r--r--lib/libc/include/namespace.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/include/namespace.h b/lib/libc/include/namespace.h
index 5a6204922f6..9b69238e740 100644
--- a/lib/libc/include/namespace.h
+++ b/lib/libc/include/namespace.h
@@ -1,4 +1,4 @@
-/* $NetBSD: namespace.h,v 1.117 2006/06/23 17:15:18 christos Exp $ */
+/* $NetBSD: namespace.h,v 1.118 2006/08/12 23:49:54 christos Exp $ */
/*-
* Copyright (c) 1997-2004 The NetBSD Foundation, Inc.
@@ -534,6 +534,8 @@
#define statvfs(a, b) _statvfs(a, b)
#define strcasecmp _strcasecmp
#define strdup _strdup
+#define stresep _stresep
+#define strndup _strndup
#define strncasecmp _strncasecmp
#define strptime _strptime
#define strsep _strsep