Skip to content

Commit c732549

Browse files
ext/opcache/ZendAccelerator: fix accel_deactivate_now() prototype (#8541)
Fixes -Wstrict-prototypes warning introduced by commit 04a4864
1 parent b51a5c3 commit c732549

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3409,7 +3409,7 @@ void zend_accel_schedule_restart(zend_accel_restart_reason reason)
34093409
HANDLE_UNBLOCK_INTERRUPTIONS();
34103410
}
34113411

3412-
static void accel_deactivate_now()
3412+
static void accel_deactivate_now(void)
34133413
{
34143414
/* this is needed because on WIN32 lock is not decreased unless ZCG(counted) is set */
34153415
#ifdef ZEND_WIN32

0 commit comments

Comments
 (0)