Skip to content

Commit 2694849

Browse files
committed
Remove duplicate #include statements across the codebase.
1 parent f207014 commit 2694849

File tree

21 files changed

+0
-33
lines changed

21 files changed

+0
-33
lines changed

Zend/Optimizer/zend_call_graph.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@
2323
#include "zend_inference.h"
2424
#include "zend_call_graph.h"
2525
#include "zend_func_info.h"
26-
#include "zend_inference.h"
27-
#include "zend_call_graph.h"
2826

2927
static void zend_op_array_calc(zend_op_array *op_array, void *context)
3028
{

Zend/Optimizer/zend_func_info.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
#include "zend_inference.h"
2525
#include "zend_call_graph.h"
2626
#include "zend_func_info.h"
27-
#include "zend_inference.h"
2827
#ifdef _WIN32
2928
#include "win32/ioutil.h"
3029
#endif

Zend/zend_compile.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,12 +1031,6 @@ void zend_assert_valid_class_name(const zend_string *const_name, const char *typ
10311031
zend_string *zend_type_to_string_resolved(zend_type type, zend_class_entry *scope);
10321032
ZEND_API zend_string *zend_type_to_string(zend_type type);
10331033

1034-
/* BEGIN: OPCODES */
1035-
1036-
#include "zend_vm_opcodes.h"
1037-
1038-
/* END: OPCODES */
1039-
10401034
/* class fetches */
10411035
#define ZEND_FETCH_CLASS_DEFAULT 0
10421036
#define ZEND_FETCH_CLASS_SELF 1

ext/libxml/libxml.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include <libxml/uri.h>
3636
#include <libxml/xmlerror.h>
3737
#include <libxml/xmlsave.h>
38-
#include <libxml/xmlerror.h>
3938
#include <libxml/entities.h>
4039
#ifdef LIBXML_SCHEMAS_ENABLED
4140
#include <libxml/relaxng.h>

ext/mysqli/mysqli.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
#include "zend_exceptions.h"
3333
#include "ext/spl/spl_exceptions.h"
3434
#include "zend_interfaces.h"
35-
#include "zend_attributes.h"
3635
#include "mysqli_arginfo.h"
3736

3837
ZEND_DECLARE_MODULE_GLOBALS(mysqli)

ext/phar/phar_object.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
#include "main/SAPI.h"
2828
#include "zend_exceptions.h"
2929
#include "zend_interfaces.h"
30-
#include "zend_exceptions.h"
3130

3231
static zend_class_entry *phar_ce_archive;
3332
static zend_class_entry *phar_ce_data;

ext/standard/basic_functions.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
102102
#endif
103103

104104
#include "zend_globals.h"
105-
#include "php_globals.h"
106105
#include "SAPI.h"
107106
#include "php_ticks.h"
108107

ext/standard/ftp_fopen_wrapper.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,6 @@
4141
#include "php_standard.h"
4242
#include "ext/uri/php_uri.h"
4343

44-
#include <sys/types.h>
4544
#ifdef HAVE_SYS_SOCKET_H
4645
#include <sys/socket.h>
4746
#endif

ext/standard/http_fopen_wrapper.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444

4545
#include "php_standard.h"
4646

47-
#include <sys/types.h>
4847
#ifdef HAVE_SYS_SOCKET_H
4948
#include <sys/socket.h>
5049
#endif

main/fopen_wrappers.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
#include <pwd.h>
4545
#endif
4646

47-
#include <sys/types.h>
4847
#ifdef HAVE_SYS_SOCKET_H
4948
#include <sys/socket.h>
5049
#endif

0 commit comments

Comments
 (0)