mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
main: Voidify php_startup_ticks() (#17479)
As it always returns SUCCESS and we ignored the return value anyway
This commit is contained in:
committed by
GitHub
parent
b7169a2248
commit
effd3f6212
@@ -23,10 +23,9 @@ struct st_tick_function
|
||||
void *arg;
|
||||
};
|
||||
|
||||
int php_startup_ticks(void)
|
||||
void php_startup_ticks(void)
|
||||
{
|
||||
zend_llist_init(&PG(tick_functions), sizeof(struct st_tick_function), NULL, 1);
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
void php_deactivate_ticks(void)
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#ifndef PHP_TICKS_H
|
||||
#define PHP_TICKS_H
|
||||
|
||||
int php_startup_ticks(void);
|
||||
void php_startup_ticks(void);
|
||||
void php_deactivate_ticks(void);
|
||||
void php_shutdown_ticks(php_core_globals *core_globals);
|
||||
void php_run_ticks(int count);
|
||||
|
||||
Reference in New Issue
Block a user