Skip to content

Commit 0961715

Browse files
MaxKellermannGirgias
authored andcommitted
Zend/zend_enum: include cleanup
1 parent a93f264 commit 0961715

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Zend/zend_enum.c

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
+----------------------------------------------------------------------+
1717
*/
1818

19-
#include "zend.h"
20-
#include "zend_API.h"
21-
#include "zend_compile.h"
19+
#include "zend_enum.h"
20+
#include "zend_arena.h" // ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX2
21+
#include "zend_API.h" // for INIT_CLASS_ENTRY_EX()
2222
#include "zend_enum_arginfo.h"
2323
#include "zend_interfaces.h"
24-
#include "zend_enum.h"
25-
#include "zend_extensions.h"
24+
#include "zend_extensions.h" // for zend_internal_run_time_cache_reserved_size()
25+
#include "zend_objects.h" // for zend_objects_new()
2626
#include "zend_observer.h"
2727

2828
#define ZEND_ENUM_DISALLOW_MAGIC_METHOD(propertyName, methodName) \

Zend/zend_enum.h

+5-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,11 @@
1919
#ifndef ZEND_ENUM_H
2020
#define ZEND_ENUM_H
2121

22-
#include "zend.h"
23-
#include "zend_types.h"
22+
#include "zend_compile.h" // for OBJ_PROP_NUM
23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
24+
25+
typedef struct _zend_class_entry zend_class_entry;
26+
typedef struct _zend_function_entry zend_function_entry;
2427

2528
BEGIN_EXTERN_C()
2629

0 commit comments

Comments
 (0)