mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix some minor warnings (#8568)
* Fix php_apache_get_version prototype Avoids an error with -Werror=strict-prototypes when building the Apache SAPI. * Fix -Werror=stringop-truncation in pdo_raise_impl_error * Note pdo_error_type BC break
This commit is contained in:
parent
33fa80cc97
commit
282655083e
4 changed files with 7 additions and 4 deletions
|
@ -317,7 +317,7 @@ PHP_FUNCTION(apache_getenv)
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
static char *php_apache_get_version()
|
||||
static char *php_apache_get_version(void)
|
||||
{
|
||||
#if MODULE_MAGIC_NUMBER_MAJOR >= 20060905
|
||||
return (char *) ap_get_server_banner();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue