Skip to content

Commit 443e25a

Browse files
committed
ext/session: fix enum return types
1 parent 09512ec commit 443e25a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/session/session.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
PHPAPI ZEND_DECLARE_MODULE_GLOBALS(ps)
5959

60-
static int php_session_rfc1867_callback(unsigned int event, void *event_data, void **extra);
60+
static zend_result php_session_rfc1867_callback(unsigned int event, void *event_data, void **extra);
6161
static int (*php_session_rfc1867_orig_callback)(unsigned int event, void *event_data, void **extra);
6262
static void php_session_track_init(void);
6363

@@ -98,8 +98,8 @@ zend_class_entry *php_session_update_timestamp_iface_entry;
9898

9999
#define APPLY_TRANS_SID (PS(use_trans_sid) && !PS(use_only_cookies))
100100

101-
static int php_session_send_cookie(void);
102-
static int php_session_abort(void);
101+
static zend_result php_session_send_cookie(void);
102+
static zend_result php_session_abort(void);
103103

104104
/* Initialized in MINIT, readonly otherwise. */
105105
static int my_module_number = 0;

0 commit comments

Comments
 (0)