summaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2016-08-14 23:38:50 +0000
committerXin LI <delphij@FreeBSD.org>2016-08-14 23:38:50 +0000
commit854023f054291b7ecebb98ce5d91701caf244713 (patch)
tree64c9f6761b0f4cbba3fd631ac43d8c3266a6095c /include/string.h
parentce3ee09b538f7d8c90170bc48d2c81f018c4cf03 (diff)
downloadsrc-test2-854023f054291b7ecebb98ce5d91701caf244713.tar.gz
src-test2-854023f054291b7ecebb98ce5d91701caf244713.zip
Notes
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index af8b0d46c86c..9fe1f826d9cd 100644
--- a/include/string.h
+++ b/include/string.h
@@ -134,6 +134,8 @@ typedef __ssize_t ssize_t;
void swab(const void * __restrict, void * __restrict, ssize_t);
#endif /* _SWAB_DECLARED */
+int timingsafe_bcmp(const void *, const void *, size_t);
+int timingsafe_memcmp(const void *, const void *, size_t);
#endif /* __BSD_VISIBLE */
#if __POSIX_VISIBLE >= 200809 || defined(_XLOCALE_H_)