Skip to content

Commit e73c126

Browse files
committed
Zend/zend_API: include cleanup
1 parent 189fcb7 commit e73c126

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Zend/zend_API.c

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,13 @@
1919
+----------------------------------------------------------------------+
2020
*/
2121

22-
#include "zend.h"
23-
#include "zend_execute.h"
2422
#include "zend_API.h"
25-
#include "zend_modules.h"
23+
#include "zend_arena.h"
24+
#include "zend_objects.h" // for zend_objects_new()
2625
#include "zend_extensions.h"
2726
#include "zend_constants.h"
28-
#include "zend_interfaces.h"
27+
#include "zend_interfaces.h" // for zend_ce_stringable
2928
#include "zend_exceptions.h"
30-
#include "zend_closures.h"
3129
#include "zend_inheritance.h"
3230
#include "zend_ini.h"
3331
#include "zend_enum.h"

Zend/zend_API.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@
2222
#ifndef ZEND_API_H
2323
#define ZEND_API_H
2424

25-
#include "zend_modules.h"
26-
#include "zend_list.h"
27-
#include "zend_operators.h"
28-
#include "zend_variables.h"
29-
#include "zend_execute.h"
30-
#include "zend_type_info.h"
25+
#include "zend_compile.h" // for zif_handler
26+
#include "zend_execute.h" // for get_active_function_or_method_name()
27+
#include "zend_globals.h" // for struct _zend_compiler_globals used by ZEND_MAP_PTR_GET_IMM()
28+
#include "zend_globals_macros.h" // for CG() used by ZEND_MAP_PTR_GET_IMM()
29+
#include "zend_portability.h" // for BEGIN_EXTERN_C
3130

31+
typedef struct _zend_module_entry zend_module_entry;
3232

3333
BEGIN_EXTERN_C()
3434

0 commit comments

Comments
 (0)