Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/npf/npftest/libnpftest npftest_mbufops and npftest_...



details:   https://anonhg.NetBSD.org/src/rev/daf14277ee22
branches:  trunk
changeset: 1009422:daf14277ee22
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Apr 23 00:27:45 2020 +0000

description:
npftest_mbufops and npftest_ifops are owned by npf_mbuf_subr.c

diffstat:

 usr.sbin/npf/npftest/libnpftest/npf_test.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (14 lines):

diff -r 4c54cebe3464 -r daf14277ee22 usr.sbin/npf/npftest/libnpftest/npf_test.h
--- a/usr.sbin/npf/npftest/libnpftest/npf_test.h        Thu Apr 23 00:24:50 2020 +0000
+++ b/usr.sbin/npf/npftest/libnpftest/npf_test.h        Thu Apr 23 00:27:45 2020 +0000
@@ -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 *);



Home | Main Index | Thread Index | Old Index