aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorNick Black <[email protected]>2019-12-26 13:52:14 -0500
committerBrian Behlendorf <[email protected]>2019-12-26 10:52:14 -0800
commit8cda5c5ce9dfd26591fa26b7be17347ef6091250 (patch)
treed0f59f21ef75e64da235071e7cfc8c3bf16e862f /tests
parent635a01aafdd7191e32cd1228e96dc90ddfe0d899 (diff)
libspl: declare aok extern in header
Rather than defining a new instance of 'aok' in every compilation unit which includes this header, there is a single instance defined in zone.c, and the header now only declares an extern. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Paul Zuchowski <[email protected]> Signed-off-by: Nick Black <[email protected]> Closes #9752
Diffstat (limited to 'tests')
-rw-r--r--tests/zfs-tests/tests/functional/checksum/edonr_test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/zfs-tests/tests/functional/checksum/edonr_test.c b/tests/zfs-tests/tests/functional/checksum/edonr_test.c
index a88756091..3c676c91f 100644
--- a/tests/zfs-tests/tests/functional/checksum/edonr_test.c
+++ b/tests/zfs-tests/tests/functional/checksum/edonr_test.c
@@ -40,6 +40,8 @@
#include <sys/time.h>
#include <sys/stdtypes.h>
+int aok = 0;
+
/*
* Test messages from:
* http://csrc.nist.gov/groups/ST/toolkit/documents/Examples/SHA_All.pdf