Fix strict prototype for php_closelog

This commit is contained in:
Jakub Zelenka 2022-06-19 22:56:44 +01:00
parent b3e6faed48
commit d9cca443ad
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