From 4a4371d31c44e02d5922f3179c063dfc1a3473ec Mon Sep 17 00:00:00 2001 From: "Tianfeng.Han" Date: Thu, 24 Oct 2024 22:01:31 +0800 Subject: [PATCH] Modify `zend_max_execution_timer.h` to export the symbols with C format (#16550) --- Zend/zend_max_execution_timer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_max_execution_timer.h b/Zend/zend_max_execution_timer.h index 789f50e6b7d..6557d6c9184 100644 --- a/Zend/zend_max_execution_timer.h +++ b/Zend/zend_max_execution_timer.h @@ -21,8 +21,10 @@ #include "zend_long.h" +BEGIN_EXTERN_C() /* Must be called after calls to fork() */ ZEND_API void zend_max_execution_timer_init(void); +END_EXTERN_C() void zend_max_execution_timer_settime(zend_long seconds); void zend_max_execution_timer_shutdown(void);