From 448503722a8c8934d8520302b7551e95de730b06 Mon Sep 17 00:00:00 2001 From: des Date: Wed, 22 Mar 2006 19:46:12 +0000 Subject: Vendor import of OpenSSH 4.3p1. --- crypto/openssh/openbsd-compat/strmode.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'crypto/openssh/openbsd-compat/strmode.c') 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 #include #include @@ -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; -- cgit v1.1