From 62114c18068610dc02b7a28e74d3d2957e3315fd Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Mon, 17 Jan 2000 17:33:37 +0000 Subject: Destructors no longer return ints, the low level problem it was intended to solve is long gone now... --- ext/pcre/php_pcre.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/pcre/php_pcre.c') 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; } -- cgit v1.2.1