aboutsummaryrefslogtreecommitdiff
path: root/include/string.h
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2014-07-21 18:57:06 -0500
committerBrent Cook <bcook@openbsd.org>2014-07-21 20:29:49 -0500
commitea6e7116c9d09f850d5045ef922b8bb9e0f65d82 (patch)
treecf3986e343653f99cb15fbbd147401db7c4d4243 /include/string.h
parent451dbd967ca64d229db40dd779154d42e381c525 (diff)
downloadportable-ea6e7116c9d09f850d5045ef922b8bb9e0f65d82.tar.gz
portable-ea6e7116c9d09f850d5045ef922b8bb9e0f65d82.tar.bz2
portable-ea6e7116c9d09f850d5045ef922b8bb9e0f65d82.zip
build openbsd memmem implementation for explicit_bzero test
memmem is not always available, and not all memmem's work the same way ok beck@ guenther@
Diffstat (limited to 'include/string.h')
-rw-r--r--include/string.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/string.h b/include/string.h
index acdde6c..6277247 100644
--- a/include/string.h
+++ b/include/string.h
@@ -22,4 +22,7 @@ int timingsafe_bcmp(const void *b1, const void *b2, size_t n);
22 22
23int timingsafe_memcmp(const void *b1, const void *b2, size_t len); 23int timingsafe_memcmp(const void *b1, const void *b2, size_t len);
24 24
25void * memmem(const void *big, size_t big_len, const void *little,
26 size_t little_len);
27
25#endif 28#endif