Minor refactoring of main/main.c and TSRM (#8608)

This commit is contained in:
George Peter Banyard 2022-05-24 08:34:55 +01:00 committed by GitHub
parent 9f06bb3bb6
commit 5ba6ecd523
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 69 additions and 77 deletions

View file

@ -297,9 +297,9 @@ void phperror(char *error);
PHPAPI size_t php_write(void *buf, size_t size);
PHPAPI size_t php_printf(const char *format, ...) PHP_ATTRIBUTE_FORMAT(printf, 1, 2);
PHPAPI size_t php_printf_unchecked(const char *format, ...);
PHPAPI int php_during_module_startup(void);
PHPAPI int php_during_module_shutdown(void);
PHPAPI int php_get_module_initialized(void);
PHPAPI bool php_during_module_startup(void);
PHPAPI bool php_during_module_shutdown(void);
PHPAPI bool php_get_module_initialized(void);
#ifdef HAVE_SYSLOG_H
#include "php_syslog.h"
#define php_log_err(msg) php_log_err_with_severity(msg, LOG_NOTICE)