summaryrefslogtreecommitdiffhomepage
path: root/src/selftest/counter.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-06-22 03:49:57 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-06-24 02:06:26 +0200
commite1f28f3f4fd7dafa1ea036c618451318c7c7e11b (patch)
tree8ee240282e3b53b0eee5c8af706ffb4e2260a732 /src/selftest/counter.h
parent1aa27115bc324f8cc3bb72e46e8cf5aac81b6b5e (diff)
main: annotate init/exit functions to save memory
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/selftest/counter.h')
-rw-r--r--src/selftest/counter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selftest/counter.h b/src/selftest/counter.h
index 3312408..56d6006 100644
--- a/src/selftest/counter.h
+++ b/src/selftest/counter.h
@@ -1,7 +1,7 @@
/* Copyright (C) 2015-2017 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */
#ifdef DEBUG
-bool packet_counter_selftest(void)
+bool __init packet_counter_selftest(void)
{
bool success = true;
unsigned int test_num = 0, i;