summaryrefslogtreecommitdiff
path: root/Lib/php
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-02-03 17:21:17 +1300
committerOlly Betts <olly@survex.com>2022-02-03 17:21:17 +1300
commit0cdbbf326be2484c08076c0b496da39576e6c146 (patch)
tree263c813a54011f70b3609803828af175f681c4e7 /Lib/php
parentebbf2e607713a15e43b8d40d12fb58823cbb1cf6 (diff)
downloadswig-0cdbbf326be2484c08076c0b496da39576e6c146.tar.gz
Fix -Wstrict-prototypes warning in generated PHP wrappers
Diffstat (limited to 'Lib/php')
-rw-r--r--Lib/php/phprun.swg2
1 files changed, 1 insertions, 1 deletions
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) {