Module Name: src Committed By: joerg Date: Thu Apr 23 00:27:45 UTC 2020
Modified Files: src/usr.sbin/npf/npftest/libnpftest: npf_test.h Log Message: npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/npf/npftest/libnpftest/npf_test.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.sbin/npf/npftest/libnpftest/npf_test.h diff -u src/usr.sbin/npf/npftest/libnpftest/npf_test.h:1.19 src/usr.sbin/npf/npftest/libnpftest/npf_test.h:1.20 --- src/usr.sbin/npf/npftest/libnpftest/npf_test.h:1.19 Tue Jul 23 00:52:02 2019 +++ src/usr.sbin/npf/npftest/libnpftest/npf_test.h Thu Apr 23 00:27:45 2020 @@ -84,8 +84,8 @@ struct mbuf { #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 *);