summaryrefslogtreecommitdiff
path: root/main/php_variables.h
diff options
context:
space:
mode:
authorShane Caraveo <shane@php.net>2002-10-13 08:38:09 +0000
committerShane Caraveo <shane@php.net>2002-10-13 08:38:09 +0000
commit96b9c0a52321ea8974f051a83cf58bb7ec6144d9 (patch)
tree60116de08908d00f2f2cc556779739de8c6a7026 /main/php_variables.h
parentacb9bc95e386f36c8c0e8a7b39f63ec1b45f0132 (diff)
downloadphp-git-96b9c0a52321ea8974f051a83cf58bb7ec6144d9.tar.gz
make php_import_environment_variables overwritable so fastcgi can correctly
set $_ENV.
Diffstat (limited to 'main/php_variables.h')
-rw-r--r--main/php_variables.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_variables.h b/main/php_variables.h
index 8321c57d1c..38d3d3ec44 100644
--- a/main/php_variables.h
+++ b/main/php_variables.h
@@ -31,7 +31,7 @@
#define PARSE_STRING 3
void php_treat_data(int arg, char *str, zval* destArray TSRMLS_DC);
-PHPAPI void php_import_environment_variables(zval *array_ptr TSRMLS_DC);
+extern PHPAPI void (*php_import_environment_variables)(zval *array_ptr TSRMLS_DC);
PHPAPI void php_register_variable(char *var, char *val, pval *track_vars_array TSRMLS_DC);
/* binary-safe version */
PHPAPI void php_register_variable_safe(char *var, char *val, int val_len, pval *track_vars_array TSRMLS_DC);