diff options
author | Xinchen Hui <laruence@php.net> | 2015-04-28 11:30:25 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@php.net> | 2015-04-28 11:30:25 +0800 |
commit | 33e32cbe5b860df1a919ba8ed536ed12397a3829 (patch) | |
tree | e08b5c895c3f6915e79651db8143b980c916c082 /Zend | |
parent | 38d79e9449ac3bfd51927183b975ab9c01cfde57 (diff) | |
download | php-git-33e32cbe5b860df1a919ba8ed536ed12397a3829.tar.gz |
Make it inline
Diffstat (limited to 'Zend')
-rw-r--r-- | Zend/zend_compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index f56d25fb9c..d4a9df36aa 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1225,7 +1225,7 @@ ZEND_API zend_string *zend_mangle_property_name(const char *src1, size_t src1_le } /* }}} */ -static size_t zend_strnlen(const char* s, size_t maxlen) /* {{{ */ +static zend_always_inline size_t zend_strnlen(const char* s, size_t maxlen) /* {{{ */ { size_t len = 0; while (*s++ && maxlen--) len++; |