diff options
author | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2000-01-17 17:33:37 +0000 |
commit | 62114c18068610dc02b7a28e74d3d2957e3315fd (patch) | |
tree | 53dc05ad4216381535f5985c6f615a432785b962 /ext/pcre/php_pcre.c | |
parent | ec386cc9fde380aaa4af823e75950365d8bb98da (diff) | |
download | php-git-62114c18068610dc02b7a28e74d3d2957e3315fd.tar.gz |
Destructors no longer return ints, the low level problem it was intended to solve is long gone now...
Diffstat (limited to 'ext/pcre/php_pcre.c')
-rw-r--r-- | ext/pcre/php_pcre.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index 2624084184..1a16bc5705 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -60,14 +60,13 @@ static void php_pcre_free(void *ptr) } -static int _php_free_pcre_cache(void *data) +static void _php_free_pcre_cache(void *data) { pcre_cache_entry *pce = (pcre_cache_entry *) data; pefree(pce->re, 1); #if HAVE_SETLOCALE pefree((void*)pce->tables, 1); #endif - return 1; } |