From a6b5439e2ece3e6073ccb50f47019c122660aa95 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Sat, 15 Jun 2024 21:27:56 +0200 Subject: [PATCH] Fix warnings function declaration isn't a prototype (#14577) This fixes the -Wstrict-prototypes warnings that might pop up in certain builds. --- Zend/zend_portability.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_portability.h b/Zend/zend_portability.h index c766491ba3b..4f785d13963 100644 --- a/Zend/zend_portability.h +++ b/Zend/zend_portability.h @@ -807,7 +807,7 @@ typedef union { double d; long double ld; void *p; - void (*fun)(); + void (*fun)(void); } zend_max_align_t; #endif