diff options
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | openbsd-compat/strmode.c | 4 | ||||
-rw-r--r-- | openbsd-compat/strmode.h | 4 |
3 files changed, 5 insertions, 6 deletions
@@ -78,6 +78,7 @@ | |||
78 | [includes.h pathnames.h readconf.c servconf.c] | 78 | [includes.h pathnames.h readconf.c servconf.c] |
79 | move the path for xauth to pathnames.h | 79 | move the path for xauth to pathnames.h |
80 | - (bal) configure.in fix for Tru64 (forgeting to reset $LIB) | 80 | - (bal) configure.in fix for Tru64 (forgeting to reset $LIB) |
81 | - (bal) ANSIify strmode() | ||
81 | 82 | ||
82 | 20010606 | 83 | 20010606 |
83 | - OpenBSD CVS Sync | 84 | - OpenBSD CVS Sync |
@@ -5589,4 +5590,4 @@ | |||
5589 | - Wrote replacements for strlcpy and mkdtemp | 5590 | - Wrote replacements for strlcpy and mkdtemp |
5590 | - Released 1.0pre1 | 5591 | - Released 1.0pre1 |
5591 | 5592 | ||
5592 | $Id: ChangeLog,v 1.1270 2001/06/09 02:16:28 mouring Exp $ | 5593 | $Id: ChangeLog,v 1.1271 2001/06/09 02:22:16 mouring Exp $ |
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) { |
diff --git a/openbsd-compat/strmode.h b/openbsd-compat/strmode.h index cbb2644ed..64f7c8aae 100644 --- a/openbsd-compat/strmode.h +++ b/openbsd-compat/strmode.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* $Id: strmode.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */ | 1 | /* $Id: strmode.h,v 1.3 2001/06/09 02:22:17 mouring Exp $ */ |
2 | 2 | ||
3 | #ifndef HAVE_STRMODE | 3 | #ifndef HAVE_STRMODE |
4 | 4 | ||
5 | void strmode( register mode_t mode, register char *p); | 5 | void strmode(register mode_t mode, register char *p); |
6 | 6 | ||
7 | #endif | 7 | #endif |