From 0cdbbf326be2484c08076c0b496da39576e6c146 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Thu, 3 Feb 2022 17:21:17 +1300 Subject: [PATCH] Fix -Wstrict-prototypes warning in generated PHP wrappers --- Lib/php/phprun.swg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/php/phprun.swg b/Lib/php/phprun.swg index d2ac5df8c..1b484ac1e 100644 --- a/Lib/php/phprun.swg +++ b/Lib/php/phprun.swg @@ -228,7 +228,7 @@ SWIG_ConvertPtr(zval *z, void **ptr, swig_type_info *ty, int flags) { } static const char const_name[] = "swig_runtime_data_type_pointer"; -static swig_module_info *SWIG_Php_GetModule() { +static swig_module_info *SWIG_Php_GetModule(void) { zval *pointer = zend_get_constant_str(const_name, sizeof(const_name) - 1); if (pointer) { if (Z_TYPE_P(pointer) == IS_LONG) {