summaryrefslogtreecommitdiff
path: root/lib/libc/string
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/string')
-rw-r--r--lib/libc/string/strmode.34
-rw-r--r--lib/libc/string/strmode.c7
2 files changed, 2 insertions, 9 deletions
diff --git a/lib/libc/string/strmode.3 b/lib/libc/string/strmode.3
index 3a7a4bb3faf..99e6d44fd28 100644
--- a/lib/libc/string/strmode.3
+++ b/lib/libc/string/strmode.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strmode.3,v 1.12 2005/02/25 03:12:44 cloder Exp $
+.\" $OpenBSD: strmode.3,v 1.13 2005/06/15 17:48:52 millert Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -67,8 +67,6 @@ symbolic link
FIFO
.It s
socket
-.It w
-whiteout
.It \&?
unknown inode type
.El
diff --git a/lib/libc/string/strmode.c b/lib/libc/string/strmode.c
index bd78403cb21..eedd65aaf33 100644
--- a/lib/libc/string/strmode.c
+++ b/lib/libc/string/strmode.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
+static char *rcsid = "$OpenBSD: strmode.c,v 1.6 2005/06/15 17:48:52 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
@@ -65,11 +65,6 @@ strmode(int mode, char *p)
*p++ = 'p';
break;
#endif
-#ifdef S_IFWHT
- case S_IFWHT: /* whiteout */
- *p++ = 'w';
- break;
-#endif
default: /* unknown */
*p++ = '?';
break;