summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Lindstrom <mouring@eviladmin.org>2001-06-09 02:22:16 +0000
committerBen Lindstrom <mouring@eviladmin.org>2001-06-09 02:22:16 +0000
commitb30768f5045eb5d639b52c072184e592a7c31c94 (patch)
treeb2457da2c3a1d6d4df1aa4471e54c22246b383ee
parent23fec1471001e9a5caaae1e76ccc89593ac609b8 (diff)
- (bal) ANSIify strmode()
-rw-r--r--ChangeLog3
-rw-r--r--openbsd-compat/strmode.c4
-rw-r--r--openbsd-compat/strmode.h4
3 files changed, 5 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 212df6d1..7f77e58b 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 67e0e4d3..e64d1986 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 <string.h>
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 cbb2644e..64f7c8aa 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