diff options
author | imp <imp@FreeBSD.org> | 2002-04-18 17:14:09 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2002-04-18 17:14:09 +0000 |
commit | 71bc4d4331e5f218fbe229a98683683b0ed3cbcc (patch) | |
tree | f12f6054c4d3a5a57748d86fb3e092c25e629499 /sbin/ifconfig/ifvlan.c | |
parent | 060b6e665008e7933b2abc360607d1bd18dde425 (diff) | |
download | FreeBSD-src-71bc4d4331e5f218fbe229a98683683b0ed3cbcc.zip FreeBSD-src-71bc4d4331e5f218fbe229a98683683b0ed3cbcc.tar.gz |
De-__P, use ansi function definitions
Diffstat (limited to 'sbin/ifconfig/ifvlan.c')
-rw-r--r-- | sbin/ifconfig/ifvlan.c | 23 |
1 files changed, 8 insertions, 15 deletions
diff --git a/sbin/ifconfig/ifvlan.c b/sbin/ifconfig/ifvlan.c index 4a4a947..7e089b9 100644 --- a/sbin/ifconfig/ifvlan.c +++ b/sbin/ifconfig/ifvlan.c @@ -61,9 +61,8 @@ static const char rcsid[] = static int __tag = 0; static int __have_tag = 0; -void vlan_status(s, info) - int s; - struct rt_addrinfo *info __unused; +void +vlan_status(int s, struct rt_addrinfo *info __unused) { struct vlanreq vreq; @@ -80,10 +79,8 @@ void vlan_status(s, info) return; } -void setvlantag(val, d, s, afp) - const char *val; - int d, s; - const struct afswtch *afp; +void +setvlantag(const char *val, int d, int s, const struct afswtch *afp) { u_int16_t tag; struct vlanreq vreq; @@ -105,10 +102,8 @@ void setvlantag(val, d, s, afp) return; } -void setvlandev(val, d, s, afp) - const char *val; - int d, s; - const struct afswtch *afp; +void +setvlandev(const char *val, int d, int s, const struct afswtch *afp) { struct vlanreq vreq; @@ -130,10 +125,8 @@ void setvlandev(val, d, s, afp) return; } -void unsetvlandev(val, d, s, afp) - const char *val; - int d, s; - const struct afswtch *afp; +void +unsetvlandev(const char *val, int d, int s, const struct afswtch *afp) { struct vlanreq vreq; |