diff options
author | ae <ae@FreeBSD.org> | 2014-12-03 03:50:54 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2014-12-03 03:50:54 +0000 |
commit | ef3a17b83cc98b496c2556252713e540b3b3c5a9 (patch) | |
tree | fa13f686dc3d6f9a319f20b03b51a7be18f25504 /sys/netipsec/keysock.c | |
parent | 5f6f4d17d53285967ade20593f4447e055aa8615 (diff) | |
download | FreeBSD-src-ef3a17b83cc98b496c2556252713e540b3b3c5a9.zip FreeBSD-src-ef3a17b83cc98b496c2556252713e540b3b3c5a9.tar.gz |
ANSIfy function declarations.
Sponsored by: Yandex LLC
Diffstat (limited to 'sys/netipsec/keysock.c')
-rw-r--r-- | sys/netipsec/keysock.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/sys/netipsec/keysock.c b/sys/netipsec/keysock.c index 45b0425..02cc9b2 100644 --- a/sys/netipsec/keysock.c +++ b/sys/netipsec/keysock.c @@ -137,10 +137,7 @@ end: * send message to the socket. */ static int -key_sendup0(rp, m, promisc) - struct rawcb *rp; - struct mbuf *m; - int promisc; +key_sendup0(struct rawcb *rp, struct mbuf *m, int promisc) { int error; @@ -178,11 +175,7 @@ key_sendup0(rp, m, promisc) /* XXX this interface should be obsoleted. */ int -key_sendup(so, msg, len, target) - struct socket *so; - struct sadb_msg *msg; - u_int len; - int target; /*target of the resulting message*/ +key_sendup(struct socket *so, struct sadb_msg *msg, u_int len, int target) { struct mbuf *m, *n, *mprev; int tlen; @@ -267,10 +260,7 @@ key_sendup(so, msg, len, target) /* so can be NULL if target != KEY_SENDUP_ONE */ int -key_sendup_mbuf(so, m, target) - struct socket *so; - struct mbuf *m; - int target; +key_sendup_mbuf(struct socket *so, struct mbuf *m, int target) { struct mbuf *n; struct keycb *kp; |