summaryrefslogtreecommitdiff
path: root/ext/reflection/php_reflection.c
diff options
context:
space:
mode:
authorGeorge Peter Banyard <girgias@php.net>2020-02-05 17:39:29 +0100
committerGeorge Peter Banyard <girgias@php.net>2020-02-05 17:39:29 +0100
commitc343c1bcae954112721075d2152802dedca3e2c4 (patch)
tree5810f27dd8f7646246684718eaca1d8bba1aaa2d /ext/reflection/php_reflection.c
parent065224190dd897dd3ea2e6cbad7c684cc105132e (diff)
downloadphp-git-c343c1bcae954112721075d2152802dedca3e2c4.tar.gz
Fix some -Wold-style-declaration compiler warnings
Diffstat (limited to 'ext/reflection/php_reflection.c')
-rw-r--r--ext/reflection/php_reflection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/reflection/php_reflection.c b/ext/reflection/php_reflection.c
index e1c41e5ec5..13b97e163b 100644
--- a/ext/reflection/php_reflection.c
+++ b/ext/reflection/php_reflection.c
@@ -161,7 +161,7 @@ static inline reflection_object *reflection_object_from_obj(zend_object *obj) {
static zend_object_handlers reflection_object_handlers;
-static uint32_t zend_always_inline prop_get_flags(property_reference *ref) {
+static zend_always_inline uint32_t prop_get_flags(property_reference *ref) {
return ref->prop ? ref->prop->flags : ZEND_ACC_PUBLIC;
}