Merge branch 'PHP-8.1'

This commit is contained in:
Jakub Zelenka 2022-06-19 22:57:17 +01:00
commit 3f836641d5
No known key found for this signature in database
GPG Key ID: 1C0779DC5C0A9DE4
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ void php_openlog(const char *ident, int option, int facility)
PG(have_called_openlog) = 1;
}
void php_closelog()
void php_closelog(void)
{
closelog();
PG(have_called_openlog) = 0;

View File

@ -38,7 +38,7 @@ BEGIN_EXTERN_C()
PHPAPI void php_syslog_str(int priority, const zend_string* message);
PHPAPI void php_syslog(int, const char *format, ...);
PHPAPI void php_openlog(const char *, int, int);
PHPAPI void php_closelog();
PHPAPI void php_closelog(void);
END_EXTERN_C()
#endif