ZTS compilation fixes #59992

git-svn-id: http://svn.php.net/repository/pecl/rrd/trunk@318048 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Miroslav Kubelik
2011-10-12 09:01:15 +00:00
parent 4a4c3ea34f
commit 3bad0c435b
8 changed files with 11 additions and 11 deletions

6
rrd.c
View File

@@ -585,9 +585,9 @@ static zend_function_entry rrd_functions[] = {
/* {{{ PHP_MINIT_FUNCTION */
static PHP_MINIT_FUNCTION(rrd)
{
rrd_graph_minit(TSRMLS_CC);
rrd_create_minit(TSRMLS_CC);
rrd_update_minit(TSRMLS_CC);
rrd_graph_minit(TSRMLS_C);
rrd_create_minit(TSRMLS_C);
rrd_update_minit(TSRMLS_C);
return SUCCESS;
}
/* }}} */

View File

@@ -359,7 +359,7 @@ static zend_function_entry rrd_create_methods[] = {
};
/* minit hook, called from main module minit */
void rrd_create_minit(TSRMLS_DC)
void rrd_create_minit(TSRMLS_D)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "RRDCreator", rrd_create_methods);

View File

@@ -19,7 +19,7 @@
#ifndef RRD_CREATE_H
#define RRD_CREATE_H
void rrd_create_minit(TSRMLS_DC);
void rrd_create_minit(TSRMLS_D);
PHP_FUNCTION(rrd_create);
#endif /* RRD_CREATE_H */

View File

@@ -319,7 +319,7 @@ PHP_METHOD(RRDGraph, saveVerbose)
/* making return array */
array_init(return_value);
rrd_info_toarray(rrd_info_data, return_value);
rrd_info_toarray(rrd_info_data, return_value TSRMLS_CC);
rrd_info_free(rrd_info_data);
rrd_args_free(graph_argv);
@@ -413,7 +413,7 @@ static zend_function_entry rrd_graph_methods[] = {
};
/* minit hook, called from main module minit */
void rrd_graph_minit(TSRMLS_DC)
void rrd_graph_minit(TSRMLS_D)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "RRDGraph", rrd_graph_methods);

View File

@@ -19,7 +19,7 @@
#ifndef RRD_GRAPH_H
#define RRD_GRAPH_H
extern void rrd_graph_minit(TSRMLS_DC);
extern void rrd_graph_minit(TSRMLS_D);
extern PHP_FUNCTION(rrd_graph);
#endif /* RRD_GRAPH_H */

View File

@@ -60,7 +60,7 @@ PHP_FUNCTION(rrd_info)
/* making return array*/
array_init(return_value);
rrd_info_toarray(rrd_info_data, return_value);
rrd_info_toarray(rrd_info_data, return_value TSRMLS_CC);
rrd_info_free(rrd_info_data);
}
/* }}} */

View File

@@ -290,7 +290,7 @@ static zend_function_entry rrd_update_methods[] = {
};
/* minit hook, called from main module minit */
void rrd_update_minit(TSRMLS_DC)
void rrd_update_minit(TSRMLS_D)
{
zend_class_entry ce;
INIT_CLASS_ENTRY(ce, "RRDUpdater", rrd_update_methods);

View File

@@ -19,7 +19,7 @@
#ifndef RRD_UPDATE_H
#define RRD_UPDATE_H
void rrd_update_minit(TSRMLS_DC);
void rrd_update_minit(TSRMLS_D);
PHP_FUNCTION(rrd_update);
#endif /* RRD_UPDATE_H */