summaryrefslogtreecommitdiff
path: root/openbsd-compat
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 /openbsd-compat
parent23fec1471001e9a5caaae1e76ccc89593ac609b8 (diff)
- (bal) ANSIify strmode()
Diffstat (limited to 'openbsd-compat')
-rw-r--r--openbsd-compat/strmode.c4
-rw-r--r--openbsd-compat/strmode.h4
2 files changed, 3 insertions, 5 deletions
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