Skip to content

Commit 66d908f

Browse files
authored
ext/session: fix PS_FUNCS() macro expansion (#21196)
Added the missing trailing `;` after `PS_CREATE_SID_FUNC(x)` so `PS_FUNCS(x)` expands to valid prototypes.
1 parent 435e67e commit 66d908f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/session/php_session.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ typedef struct ps_module_struct {
7070
PS_WRITE_FUNC(x); \
7171
PS_DESTROY_FUNC(x); \
7272
PS_GC_FUNC(x); \
73-
PS_CREATE_SID_FUNC(x) \
73+
PS_CREATE_SID_FUNC(x); \
7474
PS_VALIDATE_SID_FUNC(x);
7575

7676
#define PS_MOD(x) \

0 commit comments

Comments
 (0)