From 4eccd5df707fc87ae956e3fc397f8e540a385c14 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Wed, 20 Apr 2005 22:51:45 +0000 Subject: [PATCH] Fixed ZTS build of fdf extension. --- ext/fdf/fdf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/fdf/fdf.c b/ext/fdf/fdf.c index db3a88e6d7d..fb12826bc70 100644 --- a/ext/fdf/fdf.c +++ b/ext/fdf/fdf.c @@ -145,7 +145,7 @@ PHP_MINIT_FUNCTION(fdf) le_fdf = zend_register_list_destructors_ex(phpi_FDFClose, NULL, "fdf", module_number); /* add handler for Acrobat FDF form post requests */ - sapi_register_post_entry(&php_fdf_post_entry); + sapi_register_post_entry(&php_fdf_post_entry TSRMLS_CC); /* Constants used by fdf_set_opt() */ @@ -215,7 +215,7 @@ PHP_MINFO_FUNCTION(fdf) PHP_MSHUTDOWN_FUNCTION(fdf) { /* remove handler for Acrobat FDF form post requests */ - sapi_unregister_post_entry(&php_fdf_post_entry); + sapi_unregister_post_entry(&php_fdf_post_entry TSRMLS_CC); #ifdef PHP_WIN32 return SUCCESS;