From af4a6c3a5619299a16cfbb545cde110849596204 Mon Sep 17 00:00:00 2001 From: Ben Lindstrom Date: Mon, 25 Aug 2003 01:10:51 +0000 Subject: - (bal) openbsd-compat/ OpenBSD updates. Mostly licensing, ansifications and minor fixes. --- openbsd-compat/strmode.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'openbsd-compat/strmode.c') diff --git a/openbsd-compat/strmode.c b/openbsd-compat/strmode.c index f01352328..adf5e273e 100644 --- a/openbsd-compat/strmode.c +++ b/openbsd-compat/strmode.c @@ -31,15 +31,17 @@ #ifndef HAVE_STRMODE #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: strmode.c,v 1.4 2003/06/02 20:18:38 millert Exp $"; +static char *rcsid = "$OpenBSD: strmode.c,v 1.5 2003/06/11 21:08:16 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ #include #include #include +/* XXX mode should be mode_t */ + void -strmode(register mode_t mode, register char *p) +strmode(int mode, char *p) { /* print type */ switch (mode & S_IFMT) { -- cgit v1.2.3