summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-09-02 11:43:54 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-09-02 11:43:54 +0000
commitcf93228b48a6689114cb6f00d3837de2018319fd (patch)
tree2085138949319064981b71548c287b0cea4b26a4 /sys
parentc7610115d5fbc3dabf991216e2e7de330060b254 (diff)
provide a pool_setipl so tcpdump can compile this file
spotted by deraadt@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pf_osfp.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_osfp.c b/sys/net/pf_osfp.c
index b1e82ab524c..14b3291360c 100644
--- a/sys/net/pf_osfp.c
+++ b/sys/net/pf_osfp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf_osfp.c,v 1.35 2016/09/02 10:19:49 dlg Exp $ */
+/* $OpenBSD: pf_osfp.c,v 1.36 2016/09/02 11:43:53 dlg Exp $ */
/*
* Copyright (c) 2003 Mike Frantzen <frantzen@w4g.org>
@@ -53,6 +53,7 @@ typedef struct pool pool_t;
#define pool_get(pool, flags) malloc(*(pool))
#define pool_put(pool, item) free(item)
#define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
+#define pool_setipl(pool, ipl) ((void)0)
#ifdef PFDEBUG
#include <sys/stdarg.h> /* for DPFPRINTF() */