1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

fix [-Wstrict-prototypes] buid warnings

This commit is contained in:
Remi Collet
2021-11-24 14:35:43 +01:00
committed by Remi Collet
parent 435a5aca89
commit ef2fd0e5b5
7 changed files with 7 additions and 7 deletions

View File

@@ -2371,7 +2371,7 @@ static char *php_cli_server_parse_addr(const char *addr, int *pport) {
return pestrndup(addr, end - addr, 1);
}
static void php_cli_server_startup_workers() {
static void php_cli_server_startup_workers(void) {
char *workers = getenv("PHP_CLI_SERVER_WORKERS");
if (!workers) {
return;