summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <luiz@netgate.com>2015-09-15 13:41:59 -0500
committerLuiz Otavio O Souza <luiz@netgate.com>2015-10-20 11:52:44 -0500
commit9b291aa4649f2230d48a12c9089e526ef2182abf (patch)
tree9033aaffbe687fc2e95ac22e7c994e4c1e857cf3 /include
parent695f7c561490cfa30431266c02d4194ea59ef443 (diff)
downloadFreeBSD-src-9b291aa4649f2230d48a12c9089e526ef2182abf.zip
FreeBSD-src-9b291aa4649f2230d48a12c9089e526ef2182abf.tar.gz
MFC r272673:
Add explicit_bzero(3) and its kernel counterpart. Obtained from: OpenBSD MFC after: 2 weeks TAG: IPSEC-HEAD Issue: #4841
Diffstat (limited to 'include')
-rw-r--r--include/strings.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/strings.h b/include/strings.h
index 4fb9311..2210df0 100644
--- a/include/strings.h
+++ b/include/strings.h
@@ -43,6 +43,9 @@ int bcmp(const void *, const void *, size_t) __pure; /* LEGACY */
void bcopy(const void *, void *, size_t); /* LEGACY */
void bzero(void *, size_t); /* LEGACY */
#endif
+#if __BSD_VISIBLE
+void explicit_bzero(void *, size_t);
+#endif
#if __XSI_VISIBLE
int ffs(int) __pure2;
#endif
OpenPOWER on IntegriCloud