diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 02:22:16 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-06-09 02:22:16 +0000 |
commit | b30768f5045eb5d639b52c072184e592a7c31c94 (patch) | |
tree | b2457da2c3a1d6d4df1aa4471e54c22246b383ee /openbsd-compat/strmode.c | |
parent | 23fec1471001e9a5caaae1e76ccc89593ac609b8 (diff) |
- (bal) ANSIify strmode()
Diffstat (limited to 'openbsd-compat/strmode.c')
-rw-r--r-- | openbsd-compat/strmode.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/openbsd-compat/strmode.c b/openbsd-compat/strmode.c index 67e0e4d33..e64d19869 100644 --- a/openbsd-compat/strmode.c +++ b/openbsd-compat/strmode.c | |||
@@ -43,9 +43,7 @@ static char *rcsid = "$OpenBSD: strmode.c,v 1.3 1997/06/13 13:57:20 deraadt Exp | |||
43 | #include <string.h> | 43 | #include <string.h> |
44 | 44 | ||
45 | void | 45 | void |
46 | strmode(mode, p) | 46 | strmode(register mode_t mode, register char *p) |
47 | register mode_t mode; | ||
48 | register char *p; | ||
49 | { | 47 | { |
50 | /* print type */ | 48 | /* print type */ |
51 | switch (mode & S_IFMT) { | 49 | switch (mode & S_IFMT) { |