From 22f2a1d47b9bee879e1f39d087a9b3822ddcc28e Mon Sep 17 00:00:00 2001 From: Gina Peter Banyard Date: Sun, 6 Jul 2025 15:44:08 +0100 Subject: [PATCH] ext/pcntl: Pack module globals struct This saves 8 bytes --- ext/pcntl/php_pcntl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/pcntl/php_pcntl.h b/ext/pcntl/php_pcntl.h index a16b3e0f47e..f2cc0d59195 100644 --- a/ext/pcntl/php_pcntl.h +++ b/ext/pcntl/php_pcntl.h @@ -44,11 +44,11 @@ struct php_pcntl_pending_signal { ZEND_BEGIN_MODULE_GLOBALS(pcntl) HashTable php_signal_table; bool processing_signal_queue; - struct php_pcntl_pending_signal *head, *tail, *spares; - int last_error; volatile bool pending_signals; bool async_signals; uint8_t num_signals; + int last_error; + struct php_pcntl_pending_signal *head, *tail, *spares; ZEND_END_MODULE_GLOBALS(pcntl) #if defined(ZTS) && defined(COMPILE_DL_PCNTL)