diff options
author | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 16:38:54 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2005-11-10 16:38:54 +1100 |
commit | 09471d8a1f7e46116ba44f0f08c756196dbf6c70 (patch) | |
tree | 818ae74b2c7d5c2c645b7805a9d2cf1d233b06ac /openbsd-compat/strmode.c | |
parent | 925d1de3fb44ef62f72589966ea9a2823b567762 (diff) |
- (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.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/openbsd-compat/strmode.c b/openbsd-compat/strmode.c index 0dbb23733..4a8161422 100644 --- a/openbsd-compat/strmode.c +++ b/openbsd-compat/strmode.c | |||
@@ -1,3 +1,4 @@ | |||
1 | /* $OpenBSD: strmode.c,v 1.7 2005/08/08 08:05:37 espie Exp $ */ | ||
1 | /*- | 2 | /*- |
2 | * Copyright (c) 1990 The Regents of the University of California. | 3 | * Copyright (c) 1990 The Regents of the University of California. |
3 | * All rights reserved. | 4 | * All rights reserved. |
@@ -32,10 +33,6 @@ | |||
32 | #include "includes.h" | 33 | #include "includes.h" |
33 | #ifndef HAVE_STRMODE | 34 | #ifndef HAVE_STRMODE |
34 | 35 | ||
35 | #if defined(LIBC_SCCS) && !defined(lint) | ||
36 | static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; | ||
37 | #endif /* LIBC_SCCS and not lint */ | ||
38 | |||
39 | #include <sys/types.h> | 36 | #include <sys/types.h> |
40 | #include <sys/stat.h> | 37 | #include <sys/stat.h> |
41 | #include <string.h> | 38 | #include <string.h> |
@@ -72,11 +69,6 @@ strmode(int mode, char *p) | |||
72 | *p++ = 'p'; | 69 | *p++ = 'p'; |
73 | break; | 70 | break; |
74 | #endif | 71 | #endif |
75 | #ifdef S_IFWHT | ||
76 | case S_IFWHT: /* whiteout */ | ||
77 | *p++ = 'w'; | ||
78 | break; | ||
79 | #endif | ||
80 | default: /* unknown */ | 72 | default: /* unknown */ |
81 | *p++ = '?'; | 73 | *p++ = '?'; |
82 | break; | 74 | break; |