summaryrefslogtreecommitdiff
path: root/ext/hash
diff options
context:
space:
mode:
authorMáté Kocsis <kocsismate@woohoolabs.com>2021-02-15 22:14:36 +0100
committerMáté Kocsis <kocsismate@woohoolabs.com>2021-02-16 13:09:56 +0100
commitbf0f6aaf18895c979dcf61ecb26bdd58a238a69b (patch)
tree830e0168c398c5ffc685e0cd39ccc2274244019c /ext/hash
parent1f04f162a6f9db6cc3019bb617062aa5e0d2101f (diff)
downloadphp-git-bf0f6aaf18895c979dcf61ecb26bdd58a238a69b.tar.gz
Improve class entry generation
Related to GH-6701
Diffstat (limited to 'ext/hash')
-rw-r--r--ext/hash/hash_arginfo.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/hash/hash_arginfo.h b/ext/hash/hash_arginfo.h
index 1f11c4948f..f6ba16d4c4 100644
--- a/ext/hash/hash_arginfo.h
+++ b/ext/hash/hash_arginfo.h
@@ -205,7 +205,7 @@ static const zend_function_entry class_HashContext_methods[] = {
ZEND_FE_END
};
-zend_class_entry *register_class_HashContext()
+static zend_class_entry *register_class_HashContext(void)
{
zend_class_entry ce, *class_entry;
@@ -215,4 +215,3 @@ zend_class_entry *register_class_HashContext()
return class_entry;
}
-