summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-04-24 10:51:42 +0200
committerAnatol Belski <ab@php.net>2014-04-24 10:51:42 +0200
commit03be983398b75fdc147406e73a5d0dddd4533c08 (patch)
tree1f298d6d497fe2dfe138b3a6679dd97f0de96160
parent61499bf28252f7bea040395721178bb1a41365b9 (diff)
downloadphp-git-03be983398b75fdc147406e73a5d0dddd4533c08.tar.gz
fix dll export
-rw-r--r--main/php_variables.c2
-rw-r--r--main/php_variables.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/php_variables.c b/main/php_variables.c
index 7cc2baa988..be6448e5a3 100644
--- a/main/php_variables.c
+++ b/main/php_variables.c
@@ -636,7 +636,7 @@ static zend_bool php_auto_globals_create_request(const char *name, uint name_len
/* {{{ php_hash_environment
*/
-int php_hash_environment(TSRMLS_D)
+PHPAPI int php_hash_environment(TSRMLS_D)
{
memset(PG(http_globals), 0, sizeof(PG(http_globals)));
zend_activate_auto_globals(TSRMLS_C);
diff --git a/main/php_variables.h b/main/php_variables.h
index 37b2cf2a04..2331c582e6 100644
--- a/main/php_variables.h
+++ b/main/php_variables.h
@@ -41,7 +41,7 @@ PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array T
PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, zval *track_vars_array TSRMLS_DC);
PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
-int php_hash_environment(TSRMLS_D);
+PHPAPI int php_hash_environment(TSRMLS_D);
END_EXTERN_C()
#define NUM_TRACK_VARS 6