summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-03-21 13:58:29 +0800
committerXinchen Hui <laruence@php.net>2015-03-21 13:58:29 +0800
commit775a257cef53a0e22390c49e038b412c687c475c (patch)
tree50ec94ca31c0c7e85de6d54d00dfd195297d8747 /ext
parent595e46fdebbdce45a6a2662ea98e62639473223d (diff)
downloadphp-git-775a257cef53a0e22390c49e038b412c687c475c.tar.gz
Only used in ZTS
Diffstat (limited to 'ext')
-rw-r--r--ext/opcache/ZendAccelerator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index dc92bf7464..7210101461 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -267,10 +267,10 @@ static void accel_interned_strings_save_state(void)
}
#endif
+#ifndef ZTS
static zend_string *accel_find_interned_string(zend_string *str)
{
/* for now interned strings are supported only for non-ZTS build */
-#ifndef ZTS
zend_ulong h;
uint nIndex;
uint idx;
@@ -296,10 +296,10 @@ static zend_string *accel_find_interned_string(zend_string *str)
}
idx = Z_NEXT(p->val);
}
-#endif
return NULL;
}
+#endif
zend_string *accel_new_interned_string(zend_string *str)
{