diff options
author | imp <imp@FreeBSD.org> | 2002-08-03 07:31:57 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-08-03 07:31:57 +0000 |
commit | 05e67f8dc78b07bacd8e4de4e8f84dcb71085e3d (patch) | |
tree | 2035cd80f1d1fc89d84011edcf3d0d6de4e10713 /usr.sbin/wicontrol | |
parent | 366a6392adce8127501d228edf0792dec70ece96 (diff) | |
download | FreeBSD-src-05e67f8dc78b07bacd8e4de4e8f84dcb71085e3d.zip FreeBSD-src-05e67f8dc78b07bacd8e4de4e8f84dcb71085e3d.tar.gz |
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.
Diffstat (limited to 'usr.sbin/wicontrol')
-rw-r--r-- | usr.sbin/wicontrol/wicontrol.c | 5 |
1 files changed, 1 insertions, 4 deletions
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; |