diff options
author | Joe Watkins <krakjoe@php.net> | 2017-01-03 06:48:40 +0000 |
---|---|---|
committer | Joe Watkins <krakjoe@php.net> | 2017-01-03 06:48:40 +0000 |
commit | 0788f3ed3c66db12187500fe089fb9cb5528783b (patch) | |
tree | a0a51f6360cd3e855ab499816538c0531a0721c0 /main/php.h | |
parent | 6b985c71d4c748868f4959124639747fc748cf5a (diff) | |
parent | 81ce32a48fcb245f7a473bbd177686f52c09b854 (diff) | |
download | php-git-0788f3ed3c66db12187500fe089fb9cb5528783b.tar.gz |
Merge branch 'pull-request/2163'
* pull-request/2163:
import explicit_bzero + strlc* functions update since 1999 algorithms have changed and register k/w not necessary anymore.
Diffstat (limited to 'main/php.h')
-rw-r--r-- | main/php.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/main/php.h b/main/php.h index a8a852fc17..023fd8d244 100644 --- a/main/php.h +++ b/main/php.h @@ -176,6 +176,14 @@ END_EXTERN_C() #define strlcat php_strlcat #endif +#ifndef HAVE_EXPLICIT_BZERO +BEGIN_EXTERN_C() +PHPAPI void php_explicit_bzero(void *dst, size_t siz); +END_EXTERN_C() +#undef explicit_bzero +#define explicit_bzero php_explicit_bzero +#endif + #ifndef HAVE_STRTOK_R BEGIN_EXTERN_C() char *strtok_r(char *s, const char *delim, char **last); |