From 05e67f8dc78b07bacd8e4de4e8f84dcb71085e3d Mon Sep 17 00:00:00 2001 From: imp Date: Sat, 3 Aug 2002 07:31:57 +0000 Subject: gcc tells me that this isn't a prototype, and it is right :-) Use ANSI decl here. The old K&R one was copied from OpenBSD I think. --- usr.sbin/wicontrol/wicontrol.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'usr.sbin/wicontrol') diff --git a/usr.sbin/wicontrol/wicontrol.c b/usr.sbin/wicontrol/wicontrol.c index a6dc729..0166eb3 100644 --- a/usr.sbin/wicontrol/wicontrol.c +++ b/usr.sbin/wicontrol/wicontrol.c @@ -91,10 +91,7 @@ int listaps; * (ripped screaming from ifconfig/ifconfig.c) */ void -printb(s, v, bits) - char *s; - char *bits; - unsigned short v; +printb(char *s, uint32_t v, char *bits) { int i, any = 0; char c; -- cgit v1.1