aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/wpa/wpa_supplicant
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2009-03-01 08:01:38 +0000
committerSam Leffler <sam@FreeBSD.org>2009-03-01 08:01:38 +0000
commitca38400838704dcda8b5a90d9be5d7e9b9e83086 (patch)
treeafd16d582822a7e021ad2a8200ea23e8538c7999 /usr.sbin/wpa/wpa_supplicant
parent624aa124ee5cbde4c3a12fa9710f0c045a66daf5 (diff)
downloadsrc-ca38400838704dcda8b5a90d9be5d7e9b9e83086.tar.gz
src-ca38400838704dcda8b5a90d9be5d7e9b9e83086.zip
use ansi prototypes
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Notes
Notes: svn path=/head/; revision=189220
Diffstat (limited to 'usr.sbin/wpa/wpa_supplicant')
-rw-r--r--usr.sbin/wpa/wpa_supplicant/Packet32.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/usr.sbin/wpa/wpa_supplicant/Packet32.c b/usr.sbin/wpa/wpa_supplicant/Packet32.c
index f8a90b31ab3a..07da3590308e 100644
--- a/usr.sbin/wpa/wpa_supplicant/Packet32.c
+++ b/usr.sbin/wpa/wpa_supplicant/Packet32.c
@@ -109,8 +109,7 @@ PacketGetVersion(void)
}
void *
-PacketOpenAdapter(iface)
- CHAR *iface;
+PacketOpenAdapter(CHAR *iface)
{
struct adapter *a;
int s;
@@ -164,10 +163,7 @@ PacketOpenAdapter(iface)
}
int
-PacketRequest(iface, set, oid)
- void *iface;
- BOOLEAN set;
- PACKET_OID_DATA *oid;
+PacketRequest(void *iface, BOOLEAN set, PACKET_OID_DATA *oid)
{
struct adapter *a;
uint32_t retval;
@@ -239,9 +235,7 @@ PacketRequest(iface, set, oid)
}
int
-PacketGetAdapterNames(namelist, len)
- CHAR *namelist;
- ULONG *len;
+PacketGetAdapterNames(CHAR *namelist, ULONG *len)
{
int mib[6];
size_t needed;
@@ -341,8 +335,7 @@ PacketGetAdapterNames(namelist, len)
}
void
-PacketCloseAdapter(iface)
- void *iface;
+PacketCloseAdapter(void *iface)
{
struct adapter *a;
struct ifreq ifr;