aboutsummaryrefslogtreecommitdiff
path: root/src/string/explicit_bzero.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/string/explicit_bzero.c')
-rw-r--r--src/string/explicit_bzero.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/string/explicit_bzero.c b/src/string/explicit_bzero.c
index f2e12f23..43894b2d 100644
--- a/src/string/explicit_bzero.c
+++ b/src/string/explicit_bzero.c
@@ -6,3 +6,11 @@ void explicit_bzero(void *d, size_t n)
d = memset(d, 0, n);
__asm__ __volatile__ ("" : : "r"(d) : "memory");
}
+
+
+#ifdef TEST
+int
+main(void) {
+ return 0;
+}
+#endif