summaryrefslogtreecommitdiff
path: root/TSRM
diff options
context:
space:
mode:
authorFelipe Pena <felipe@php.net>2009-12-08 01:51:34 +0000
committerFelipe Pena <felipe@php.net>2009-12-08 01:51:34 +0000
commitda22aa9aad871d1b5a3e150bd162a236b7601542 (patch)
treefe3c8c67beb60620cb74979e5bebd99ace7224dd /TSRM
parent90df6f2ca2d16a260bbc6f320755ba1f75f5d258 (diff)
downloadphp-git-da22aa9aad871d1b5a3e150bd162a236b7601542.tar.gz
- Fixed ZTS build
Diffstat (limited to 'TSRM')
-rw-r--r--TSRM/tsrm_virtual_cwd.c6
-rw-r--r--TSRM/tsrm_virtual_cwd.h6
2 files changed, 6 insertions, 6 deletions
diff --git a/TSRM/tsrm_virtual_cwd.c b/TSRM/tsrm_virtual_cwd.c
index e150d7fb65..5136532fa7 100644
--- a/TSRM/tsrm_virtual_cwd.c
+++ b/TSRM/tsrm_virtual_cwd.c
@@ -590,17 +590,17 @@ CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_
}
/* }}} */
-CWD_API int realpath_cache_size()
+CWD_API int realpath_cache_size(TSRMLS_D)
{
return CWDG(realpath_cache_size);
}
-CWD_API int realpath_cache_max_buckets()
+CWD_API int realpath_cache_max_buckets(TSRMLS_D)
{
return (sizeof(CWDG(realpath_cache)) / sizeof(CWDG(realpath_cache)[0]));
}
-CWD_API realpath_cache_bucket** realpath_cache_get_buckets()
+CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D)
{
return CWDG(realpath_cache);
}
diff --git a/TSRM/tsrm_virtual_cwd.h b/TSRM/tsrm_virtual_cwd.h
index afd4a0ba96..098db3749c 100644
--- a/TSRM/tsrm_virtual_cwd.h
+++ b/TSRM/tsrm_virtual_cwd.h
@@ -238,9 +238,9 @@ extern virtual_cwd_globals cwd_globals;
CWD_API void realpath_cache_clean(TSRMLS_D);
CWD_API void realpath_cache_del(const char *path, int path_len TSRMLS_DC);
CWD_API realpath_cache_bucket* realpath_cache_lookup(const char *path, int path_len, time_t t TSRMLS_DC);
-CWD_API int realpath_cache_size();
-CWD_API int realpath_cache_max_buckets();
-CWD_API realpath_cache_bucket** realpath_cache_get_buckets();
+CWD_API int realpath_cache_size(TSRMLS_D);
+CWD_API int realpath_cache_max_buckets(TSRMLS_D);
+CWD_API realpath_cache_bucket** realpath_cache_get_buckets(TSRMLS_D);
/* The actual macros to be used in programs using TSRM
* If the program defines VIRTUAL_DIR it will use the