Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b9b317a

Browse files
Export opcache shared globals (#15543)
1 parent a3b7cc2 commit b9b317a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎ext/opcache/zend_shared_alloc.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
static const zend_shared_memory_handlers *g_shared_alloc_handler = NULL;
5454
static const char *g_shared_model;
5555
/* pointer to globals allocated in SHM and shared across processes */
56-
zend_smm_shared_globals *smm_shared_globals;
56+
ZEND_EXT_APIzend_smm_shared_globals *smm_shared_globals;
5757

5858
#ifndef ZEND_WIN32
5959
#ifdef ZTS

‎ext/opcache/zend_shared_alloc.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ typedef struct _zend_smm_shared_globals {
119119
size_t reserved_size;
120120
} zend_smm_shared_globals;
121121

122-
extern zend_smm_shared_globals *smm_shared_globals;
122+
ZEND_EXT_APIextern zend_smm_shared_globals *smm_shared_globals;
123123

124124
#define ZSMMG(element) (smm_shared_globals->element)
125125

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /