diff --git a/ChangeLog b/ChangeLog index 212df6d16..7f77e58bb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -78,6 +78,7 @@ [includes.h pathnames.h readconf.c servconf.c] move the path for xauth to pathnames.h - (bal) configure.in fix for Tru64 (forgeting to reset $LIB) + - (bal) ANSIify strmode() 20010606 - OpenBSD CVS Sync @@ -5589,4 +5590,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.1270 2001/06/09 02:16:28 mouring Exp $ +$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 #include void -strmode(mode, p) - register mode_t mode; - register char *p; +strmode(register mode_t mode, register char *p) { /* print type */ 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 @@ -/* $Id: strmode.h,v 1.2 2001/02/09 01:55:36 djm Exp $ */ +/* $Id: strmode.h,v 1.3 2001/06/09 02:22:17 mouring Exp $ */ #ifndef HAVE_STRMODE -void strmode( register mode_t mode, register char *p); +void strmode(register mode_t mode, register char *p); #endif