From 5d6c5d6cf6efeccc9f8278b84536e7234c2c36d0 Mon Sep 17 00:00:00 2001 From: Levi Morrison Date: Mon, 2 Oct 2023 08:55:20 -0600 Subject: [PATCH] fix -Wreturn-type and -Wstrict-prototypes in gd configure (#12328) --- ext/gd/config.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/config.m4 b/ext/gd/config.m4 index b3420740270..826d7c7c826 100644 --- a/ext/gd/config.m4 +++ b/ext/gd/config.m4 @@ -194,7 +194,7 @@ dnl Various checks for GD features PHP_TEST_BUILD(foobar, [], [ AC_MSG_ERROR([GD build test failed. Please check the config.log for details.]) - ], [ $GD_SHARED_LIBADD ], [char foobar () {}]) + ], [ $GD_SHARED_LIBADD ], [char foobar(void) { return '\0'; }]) else extra_sources="gd_compat.c"