summaryrefslogtreecommitdiff
path: root/openbsd-compat/strmode.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-11-10 16:38:54 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-11-10 16:38:54 +1100
commit09471d8a1f7e46116ba44f0f08c756196dbf6c70 (patch)
tree818ae74b2c7d5c2c645b7805a9d2cf1d233b06ac /openbsd-compat/strmode.c
parent925d1de3fb44ef62f72589966ea9a2823b567762 (diff)
downloadopenssh-git-09471d8a1f7e46116ba44f0f08c756196dbf6c70.tar.gz
- (dtucker) [openbsd-compat/strmode.c] Update from OpenBSD 1.5 -> 1.7.
Removal of rcsid, "whiteout" inode type.
Diffstat (limited to 'openbsd-compat/strmode.c')
-rw-r--r--openbsd-compat/strmode.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/openbsd-compat/strmode.c b/openbsd-compat/strmode.c
index 0dbb2373..4a816142 100644
--- a/openbsd-compat/strmode.c
+++ b/openbsd-compat/strmode.c
@@ -1,3 +1,4 @@
+/* $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.
@@ -32,10 +33,6 @@
#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;