Skip to content

Commit fe9b622

Browse files
committed
zend extension build warning fix.
clang is more picky in this case but at least it makes it more consistent overall.
1 parent 2c8ea44 commit fe9b622

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Zend/zend_extensions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,11 +280,11 @@ ZEND_API int zend_get_op_array_extension_handles(const char *module_name, int ha
280280
return handle;
281281
}
282282

283-
ZEND_API size_t zend_internal_run_time_cache_reserved_size() {
283+
ZEND_API size_t zend_internal_run_time_cache_reserved_size(void) {
284284
return zend_op_array_extension_handles * sizeof(void *);
285285
}
286286

287-
ZEND_API void zend_init_internal_run_time_cache() {
287+
ZEND_API void zend_init_internal_run_time_cache(void) {
288288
size_t rt_size = zend_internal_run_time_cache_reserved_size();
289289
if (rt_size) {
290290
size_t functions = zend_hash_num_elements(CG(function_table));

0 commit comments

Comments
 (0)