diff options
author | obrien <obrien@FreeBSD.org> | 2002-03-21 23:54:04 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2002-03-21 23:54:04 +0000 |
commit | fd9d7ac0ed3b0196f0165675edd10f4568d1ce88 (patch) | |
tree | 797ad825cd6005b210c12cc519012e2266372988 /lib/libipsec/pfkey.c | |
parent | d0f7d014387d18db9910e1094a3d0696bfeccab6 (diff) | |
download | FreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.zip FreeBSD-src-fd9d7ac0ed3b0196f0165675edd10f4568d1ce88.tar.gz |
Remove __P() usage.
Diffstat (limited to 'lib/libipsec/pfkey.c')
-rw-r--r-- | lib/libipsec/pfkey.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/libipsec/pfkey.c b/lib/libipsec/pfkey.c index 355f714..b0d773f 100644 --- a/lib/libipsec/pfkey.c +++ b/lib/libipsec/pfkey.c @@ -51,20 +51,20 @@ __FBSDID("$FreeBSD$"); #define CALLOC(size, cast) (cast)calloc(1, (size)) -static int findsupportedmap __P((int)); -static int setsupportedmap __P((struct sadb_supported *)); -static struct sadb_alg *findsupportedalg __P((u_int, u_int)); +static int findsupportedmap(int); +static int setsupportedmap(struct sadb_supported *); +static struct sadb_alg *findsupportedalg(u_int, u_int); static int pfkey_send_x1 __P((int, u_int, u_int, u_int, struct sockaddr *, struct sockaddr *, u_int32_t, u_int32_t, u_int, caddr_t, u_int, u_int, u_int, u_int, u_int, u_int32_t, u_int32_t, u_int32_t, u_int32_t, u_int32_t)); static int pfkey_send_x2 __P((int, u_int, u_int, u_int, struct sockaddr *, struct sockaddr *, u_int32_t)); -static int pfkey_send_x3 __P((int, u_int, u_int)); +static int pfkey_send_x3(int, u_int, u_int); static int pfkey_send_x4 __P((int, u_int, struct sockaddr *, u_int, struct sockaddr *, u_int, u_int, u_int64_t, u_int64_t, char *, int, u_int32_t)); -static int pfkey_send_x5 __P((int, u_int, u_int32_t)); +static int pfkey_send_x5(int, u_int, u_int32_t); static caddr_t pfkey_setsadbmsg __P((caddr_t, caddr_t, u_int, u_int, u_int, u_int32_t, pid_t)); @@ -72,10 +72,10 @@ static caddr_t pfkey_setsadbsa __P((caddr_t, caddr_t, u_int32_t, u_int, u_int, u_int, u_int32_t)); static caddr_t pfkey_setsadbaddr __P((caddr_t, caddr_t, u_int, struct sockaddr *, u_int, u_int)); -static caddr_t pfkey_setsadbkey __P((caddr_t, caddr_t, u_int, caddr_t, u_int)); +static caddr_t pfkey_setsadbkey(caddr_t, caddr_t, u_int, caddr_t, u_int); static caddr_t pfkey_setsadblifetime __P((caddr_t, caddr_t, u_int, u_int32_t, u_int32_t, u_int32_t, u_int32_t)); -static caddr_t pfkey_setsadbxsa2 __P((caddr_t, caddr_t, u_int32_t, u_int32_t)); +static caddr_t pfkey_setsadbxsa2(caddr_t, caddr_t, u_int32_t, u_int32_t); /* * make and search supported algorithm structure. |