mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
Remove duplicate #include statements (#21085)
* Remove duplicate #include statements across the codebase. * feat: Restore conditional/unconditional include pairs in lscriu.c
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
#include "http_log.h"
|
||||
#include "http_main.h"
|
||||
#include "util_script.h"
|
||||
#include "http_core.h"
|
||||
|
||||
#ifdef PHP_AP_DEBUG
|
||||
#define phpapdebug(a) fprintf a
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "http_log.h"
|
||||
#include "http_main.h"
|
||||
#include "util_script.h"
|
||||
#include "http_core.h"
|
||||
#include "ap_mpm.h"
|
||||
#ifndef PHP_WIN32
|
||||
#include "unixd.h"
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#include "http_log.h"
|
||||
#include "http_main.h"
|
||||
#include "util_script.h"
|
||||
#include "http_core.h"
|
||||
#include "ap_mpm.h"
|
||||
|
||||
#include "php_apache.h"
|
||||
|
||||
@@ -59,7 +59,6 @@
|
||||
#include "zend.h"
|
||||
#include "zend_extensions.h"
|
||||
#include "php_ini.h"
|
||||
#include "php_globals.h"
|
||||
#include "php_main.h"
|
||||
#include "fopen_wrappers.h"
|
||||
#include "http_status_codes.h"
|
||||
|
||||
@@ -31,7 +31,6 @@
|
||||
#include "SAPI.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "php.h"
|
||||
#ifdef PHP_WIN32
|
||||
#include "win32/time.h"
|
||||
#include "win32/signal.h"
|
||||
@@ -51,7 +50,6 @@
|
||||
#include "zend.h"
|
||||
#include "zend_extensions.h"
|
||||
#include "php_ini.h"
|
||||
#include "php_globals.h"
|
||||
#include "php_main.h"
|
||||
#include "fopen_wrappers.h"
|
||||
#include "ext/standard/php_standard.h"
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#include <signal.h>
|
||||
#include <locale.h>
|
||||
|
||||
#ifdef HAVE_DLFCN_H
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stddef.h>
|
||||
#include <string.h>
|
||||
#include <inttypes.h>
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -24,7 +24,6 @@
|
||||
#include "php_variables.h"
|
||||
#include "php_ini_builder.h"
|
||||
#include "zend_modules.h"
|
||||
#include "php.h"
|
||||
#include "zend_ini_scanner.h"
|
||||
#include "zend_globals.h"
|
||||
#include "zend_stream.h"
|
||||
@@ -32,7 +31,6 @@
|
||||
#include "SAPI.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include "php.h"
|
||||
|
||||
#ifdef HAVE_SYS_TIME_H
|
||||
# include <sys/time.h>
|
||||
@@ -61,7 +59,6 @@
|
||||
#include "zend.h"
|
||||
#include "zend_extensions.h"
|
||||
#include "php_ini.h"
|
||||
#include "php_globals.h"
|
||||
#include "php_main.h"
|
||||
#include "fopen_wrappers.h"
|
||||
#include "ext/standard/php_standard.h"
|
||||
|
||||
@@ -73,7 +73,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
#include <sys/mman.h>
|
||||
#include <fcntl.h>
|
||||
#include <dlfcn.h>
|
||||
#include <stdlib.h>
|
||||
#include <errno.h>
|
||||
#include <string.h>
|
||||
#include <stdarg.h>
|
||||
|
||||
@@ -16,7 +16,6 @@ typedef void* yyscan_t;
|
||||
|
||||
#include "phpdbg_cmd.h"
|
||||
#include "phpdbg_utils.h"
|
||||
#include "phpdbg_cmd.h"
|
||||
#include "phpdbg_prompt.h"
|
||||
|
||||
#include "phpdbg_parser.h"
|
||||
|
||||
Reference in New Issue
Block a user