Skip to content

Commit 22f2a1d

Browse files
committed
ext/pcntl: Pack module globals struct
This saves 8 bytes
1 parent 3de6695 commit 22f2a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/pcntl/php_pcntl.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ struct php_pcntl_pending_signal {
4444
ZEND_BEGIN_MODULE_GLOBALS(pcntl)
4545
HashTable php_signal_table;
4646
bool processing_signal_queue;
47-
struct php_pcntl_pending_signal *head, *tail, *spares;
48-
int last_error;
4947
volatile bool pending_signals;
5048
bool async_signals;
5149
uint8_t num_signals;
50+
int last_error;
51+
struct php_pcntl_pending_signal *head, *tail, *spares;
5252
ZEND_END_MODULE_GLOBALS(pcntl)
5353

5454
#if defined(ZTS) && defined(COMPILE_DL_PCNTL)

0 commit comments

Comments
 (0)