summaryrefslogtreecommitdiff
path: root/ext/pcre/php_pcre.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-01-17 17:33:37 +0000
committerZeev Suraski <zeev@php.net>2000-01-17 17:33:37 +0000
commit62114c18068610dc02b7a28e74d3d2957e3315fd (patch)
tree53dc05ad4216381535f5985c6f615a432785b962 /ext/pcre/php_pcre.c
parentec386cc9fde380aaa4af823e75950365d8bb98da (diff)
downloadphp-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.c3
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;
}