From: Ben Gras Date: Wed, 9 Jun 2010 13:01:11 +0000 (+0000) Subject: lib: declarations that needed ANSIfication since prototypes are declared X-Git-Tag: v3.1.8~464 X-Git-Url: http://zhaoyanbai.com/repos/%22/xml/v3/zones/static/man.host.html?a=commitdiff_plain;h=1ce7983ee355e1d1a38106ca1191b4adfd1de12e;p=minix.git lib: declarations that needed ANSIfication since prototypes are declared --- diff --git a/lib/libc/other/setmode.c b/lib/libc/other/setmode.c index 45972852c..3eb154cbf 100644 --- a/lib/libc/other/setmode.c +++ b/lib/libc/other/setmode.c @@ -92,9 +92,7 @@ static void dumpmode (BITCMD *); * bits) followed by a '+' (set bits). */ mode_t -getmode(bbox, omode) - const void *bbox; - mode_t omode; +getmode(const void *bbox, mode_t omode) { const BITCMD *set; mode_t clrval, newmode, value; diff --git a/lib/libc/other/strmode.c b/lib/libc/other/strmode.c index 9a2aa6ce9..f85875abc 100644 --- a/lib/libc/other/strmode.c +++ b/lib/libc/other/strmode.c @@ -53,9 +53,7 @@ __RCSID("$NetBSD: strmode.c,v 1.18 2006/10/07 22:04:18 apb Exp $"); #if !HAVE_STRMODE void -strmode(mode, p) - mode_t mode; - char *p; +strmode(mode_t mode, char *p) { _DIAGASSERT(p != NULL);