further tsrm cleanup

This commit is contained in:
Sascha Schumann 2001-08-05 14:17:55 +00:00
parent 578c395411
commit 0af7ad15f5
2 changed files with 3 additions and 4 deletions

View File

@ -180,7 +180,6 @@ static int sapi_pi3web_send_headers(sapi_headers_struct *sapi_headers TSRMLS_DC)
char *combined_headers, *combined_headers_ptr;
LPCONTROL_BLOCK lpCB = (LPCONTROL_BLOCK) SG(server_context);
sapi_header_struct default_content_type;
TSRMLS_FETCH();
if ( !IWasLoaded ) return SAPI_HEADER_SENT_SUCCESSFULLY;
@ -320,7 +319,7 @@ static void init_request_info(sapi_globals_struct *sapi_globals, LPCONTROL_BLOCK
SG(sapi_headers).http_response_code = 200;
}
static void hash_pi3web_variables(TSRMLS_D TSRMLS_DC)
static void hash_pi3web_variables(TSRMLS_D)
{
char static_variable_buf[PI3WEB_SERVER_VAR_BUF_SIZE];
char *variable_buf;

View File

@ -260,7 +260,7 @@ static void thttpd_module_main(TSRMLS_D)
php_request_shutdown(NULL);
}
static void thttpd_request_ctor(TSRMLS_D TSRMLS_DC)
static void thttpd_request_ctor(TSRMLS_D)
{
int offset;
smart_str s = {0};
@ -295,7 +295,7 @@ static void thttpd_request_ctor(TSRMLS_D TSRMLS_DC)
}
}
static void thttpd_request_dtor(TSRMLS_D TSRMLS_DC)
static void thttpd_request_dtor(TSRMLS_D)
{
if (SG(request_info).query_string)
free(SG(request_info).query_string);