]> granicus.if.org Git - php/commitdiff
Fix Windows build
authorChristoph M. Becker <cmbecker69@gmx.de>
Thu, 3 Sep 2020 13:28:30 +0000 (15:28 +0200)
committerChristoph M. Becker <cmbecker69@gmx.de>
Thu, 3 Sep 2020 13:31:44 +0000 (15:31 +0200)
ext/opcache/ZendAccelerator.c
ext/opcache/ZendAccelerator.h

index 8683dc106f24a6d51a2578184339d730942c1080..6cef3ebe10c88c6452127532ff7c26b5bb4f3f4d 100644 (file)
@@ -2547,7 +2547,7 @@ void accel_deactivate(void)
 }
 #endif
 
-int accel_post_deactivate(void)
+zend_result accel_post_deactivate(void)
 {
        if (ZCG(cwd)) {
                zend_string_release_ex(ZCG(cwd), 0);
index 0d6dda86a125600fc24ac3411613c94bdc102464..500647265cb9631476be114beb2e427007518f87 100644 (file)
@@ -317,7 +317,7 @@ extern char *zps_api_failure_reason;
 
 void accel_shutdown(void);
 zend_result  accel_activate(INIT_FUNC_ARGS);
-int  accel_post_deactivate(void);
+zend_result accel_post_deactivate(void);
 void zend_accel_schedule_restart(zend_accel_restart_reason reason);
 void zend_accel_schedule_restart_if_necessary(zend_accel_restart_reason reason);
 accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_t *size);