]> granicus.if.org Git - php/commitdiff
- Fixed ZTS build
authorFelipe Pena <felipe@php.net>
Tue, 8 Dec 2009 01:51:34 +0000 (01:51 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 8 Dec 2009 01:51:34 +0000 (01:51 +0000)
TSRM/tsrm_virtual_cwd.c
TSRM/tsrm_virtual_cwd.h

index e150d7fb654ae07de8b4e037c52ada8a10d046b0..5136532fa765d9ee980cdea6076ee5fba8300d95 100644 (file)
@@ -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);
 }
index afd4a0ba96605d1b26f0747f575d6753bbb2e47e..098db3749cb588fc2848ce219175ff651b6c1890 100644 (file)
@@ -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