mirror of
https://github.com/php/php-src.git
synced 2024-11-23 01:44:06 +08:00
Fix strict prototype for php_closelog
This commit is contained in:
parent
b3e6faed48
commit
d9cca443ad
@ -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;
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user