Skip to content

Commit 0d3eb1a

Browse files
committed
Fix php_apache_get_version prototype
Avoids an error with -Werror=strict-prototypes when building the Apache SAPI.
1 parent 2563f89 commit 0d3eb1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sapi/apache2handler/php_functions.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ PHP_FUNCTION(apache_getenv)
317317
}
318318
/* }}} */
319319

320-
static char *php_apache_get_version()
320+
static char *php_apache_get_version(void)
321321
{
322322
#if MODULE_MAGIC_NUMBER_MAJOR >= 20060905
323323
return (char *) ap_get_server_banner();

0 commit comments

Comments
 (0)