From: mvs Date: Thu, 6 May 2021 11:29:34 +0000 (+0000) Subject: Kill pfkeyv2_parsemessage() declaration which is absolutely useless X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=fedce5d8c74f4d0524dabff5404d78d03c7ab031;p=openbsd 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@ --- 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) {