summaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
Diffstat (limited to 'missing')
-rw-r--r--missing/explicit_bzero.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/missing/explicit_bzero.c b/missing/explicit_bzero.c
index e7bb11e69f..c1933bf1ff 100644
--- a/missing/explicit_bzero.c
+++ b/missing/explicit_bzero.c
@@ -19,7 +19,11 @@
#ifndef HAVE_EXPLICIT_BZERO
/* Similar to bzero(), but have a guarantee not to be eliminated from compiler
optimization. */
+
+#ifndef HAVE_MEMSET_S
FUNC_UNOPTIMIZED(void explicit_bzero(void *b, size_t len));
+#endif
+#undef explicit_bzero
void
explicit_bzero(void *b, size_t len)