summaryrefslogtreecommitdiffhomepage
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data.c b/src/data.c
index 205020c..e10bc60 100644
--- a/src/data.c
+++ b/src/data.c
@@ -46,7 +46,7 @@ out:
}
#ifdef DEBUG
-void packet_counter_selftest(void)
+bool packet_counter_selftest(void)
{
bool success = true;
unsigned int test_num = 0, i;
@@ -129,6 +129,7 @@ void packet_counter_selftest(void)
if (success)
pr_info("nonce counter self-tests: pass\n");
+ return success;
}
#endif