mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fix strict prototype for php_closelog
This commit is contained in:
parent
b3e6faed48
commit
d9cca443ad
2 changed files with 2 additions and 2 deletions
|
@ -77,7 +77,7 @@ void php_openlog(const char *ident, int option, int facility)
|
||||||
PG(have_called_openlog) = 1;
|
PG(have_called_openlog) = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
void php_closelog()
|
void php_closelog(void)
|
||||||
{
|
{
|
||||||
closelog();
|
closelog();
|
||||||
PG(have_called_openlog) = 0;
|
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_str(int priority, const zend_string* message);
|
||||||
PHPAPI void php_syslog(int, const char *format, ...);
|
PHPAPI void php_syslog(int, const char *format, ...);
|
||||||
PHPAPI void php_openlog(const char *, int, int);
|
PHPAPI void php_openlog(const char *, int, int);
|
||||||
PHPAPI void php_closelog();
|
PHPAPI void php_closelog(void);
|
||||||
END_EXTERN_C()
|
END_EXTERN_C()
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue