From 1ce7983ee355e1d1a38106ca1191b4adfd1de12e Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Wed, 9 Jun 2010 13:01:11 +0000 Subject: [PATCH] lib: declarations that needed ANSIfication since prototypes are declared --- lib/libc/other/setmode.c | 4 +--- lib/libc/other/strmode.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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); -- 2.44.0