summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/openbsd-compat/strmode.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/openbsd-compat/strmode.c')
-rw-r--r--crypto/openssh/openbsd-compat/strmode.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/crypto/openssh/openbsd-compat/strmode.c b/crypto/openssh/openbsd-compat/strmode.c
index ea8d515e..4a81614 100644
--- a/crypto/openssh/openbsd-compat/strmode.c
+++ b/crypto/openssh/openbsd-compat/strmode.c
@@ -1,5 +1,4 @@
-/* OPENBSD ORIGINAL: lib/libc/string/strmode.c */
-
+/* $OpenBSD: strmode.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
* All rights reserved.
@@ -29,13 +28,11 @@
* SUCH DAMAGE.
*/
+/* OPENBSD ORIGINAL: lib/libc/string/strmode.c */
+
#include "includes.h"
#ifndef HAVE_STRMODE
-#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $";
-#endif /* LIBC_SCCS and not lint */
-
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
@@ -72,11 +69,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;
OpenPOWER on IntegriCloud