diff options
author | mvs <mvs@cvs.openbsd.org> | 2021-05-06 11:29:35 +0000 |
---|---|---|
committer | mvs <mvs@cvs.openbsd.org> | 2021-05-06 11:29:35 +0000 |
commit | 6d5f26cc3fba72543da6bb04d92114b17dfeccb8 (patch) | |
tree | 9cfb1ccca451cfe63e269d0593d7ec657f77f9a0 | |
parent | 47b30dbe88ac2f80227dfc0d22f30e1f3df6968d (diff) |
Kill pfkeyv2_parsemessage() declaration which is absolutely useless
here since it's declared in net/pfkeyv2.h.
Also kill unused RETURN_EINVAL() macro.
ok mpi@
-rw-r--r-- | sys/net/pfkeyv2_parsemessage.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/net/pfkeyv2_parsemessage.c b/sys/net/pfkeyv2_parsemessage.c index 8b76c2387fa..47b6d6bd5a1 100644 --- a/sys/net/pfkeyv2_parsemessage.c +++ b/sys/net/pfkeyv2_parsemessage.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.55 2020/04/23 19:38:08 tobhe Exp $ */ +/* $OpenBSD: pfkeyv2_parsemessage.c,v 1.56 2021/05/06 11:29:34 mvs Exp $ */ /* * @(#)COPYRIGHT 1.1 (NRL) 17 January 1995 @@ -273,10 +273,6 @@ uint64_t sadb_exts_required_out[SADB_MAX+1] = BITMAP_X_SRC_FLOW | BITMAP_X_DST_FLOW | BITMAP_X_SRC_MASK | BITMAP_X_DST_MASK | BITMAP_X_FLOW_TYPE, }; -int pfkeyv2_parsemessage(void *, int, void **); - -#define RETURN_EINVAL(line) goto einval; - int pfkeyv2_parsemessage(void *p, int len, void **headers) { |