summaryrefslogtreecommitdiffstats
path: root/lib/libc/string/strmode.c
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-06-15 17:48:52 +0000
committermillert <millert@openbsd.org>2005-06-15 17:48:52 +0000
commit7e4ba08f9aadd0c3fed03a1a77e7532b269d8abc (patch)
tree49404199a6fc1d799cccef622df8d24948fd7ca1 /lib/libc/string/strmode.c
parentremove whiteout support (diff)
downloadwireguard-openbsd-7e4ba08f9aadd0c3fed03a1a77e7532b269d8abc.tar.xz
wireguard-openbsd-7e4ba08f9aadd0c3fed03a1a77e7532b269d8abc.zip
bye bye whiteouts
Diffstat (limited to 'lib/libc/string/strmode.c')
-rw-r--r--lib/libc/string/strmode.c7
1 files changed, 1 insertions, 6 deletions
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;