Thu Apr 23 00:27:45 2020 UTC ()
npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c


(joerg)
diff -r1.19 -r1.20 src/usr.sbin/npf/npftest/libnpftest/npf_test.h

cvs diff -r1.19 -r1.20 src/usr.sbin/npf/npftest/libnpftest/npf_test.h (expand / switch to context diff)
--- src/usr.sbin/npf/npftest/libnpftest/npf_test.h 2019/07/23 00:52:02 1.19
+++ src/usr.sbin/npf/npftest/libnpftest/npf_test.h 2020/04/23 00:27:45 1.20
@@ -84,8 +84,8 @@
 #define	CHECK_TRUE(x)	\
     if (!(x)) { printf("FAIL: %s line %d\n", __func__, __LINE__); return 0; }
 
-const npf_mbufops_t	npftest_mbufops;
-const npf_ifops_t	npftest_ifops;
+extern const npf_mbufops_t	npftest_mbufops;
+extern const npf_ifops_t	npftest_ifops;
 
 struct mbuf *	npfkern_m_get(int, int);
 size_t		npfkern_m_length(const struct mbuf *);