Skip to content

Commit 98b47e8

Browse files
committed
Zend/zend_builtin_functions: include cleanup
1 parent 7613004 commit 98b47e8

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

Zend/zend_builtin_functions.c

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,17 @@
1717
+----------------------------------------------------------------------+
1818
*/
1919

20-
#include "zend.h"
21-
#include "zend_API.h"
22-
#include "zend_attributes.h"
23-
#include "zend_gc.h"
2420
#include "zend_builtin_functions.h"
21+
#include "zend_API.h" // for ZEND_MINIT_FUNCTION
22+
#include "zend_attributes.h" // for zend_add_class_attribute()
23+
#include "zend_closures.h" // for zend_ce_closure
2524
#include "zend_constants.h"
26-
#include "zend_ini.h"
27-
#include "zend_interfaces.h"
28-
#include "zend_exceptions.h"
25+
#include "zend_exceptions.h" // for zend_register_default_classes()
2926
#include "zend_extensions.h"
30-
#include "zend_closures.h"
3127
#include "zend_generators.h"
28+
#include "zend_ini.h"
29+
#include "zend_interfaces.h" // for zend_call_method_with_1_params()
3230
#include "zend_builtin_functions_arginfo.h"
33-
#include "zend_smart_str.h"
3431

3532
/* }}} */
3633

Zend/zend_builtin_functions.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@
2020
#ifndef ZEND_BUILTIN_FUNCTIONS_H
2121
#define ZEND_BUILTIN_FUNCTIONS_H
2222

23+
#include "zend_portability.h" // for BEGIN_EXTERN_C
2324
#include "zend_result.h"
2425

26+
typedef struct _zval_struct zval;
27+
2528
zend_result zend_startup_builtin_functions(void);
2629

2730
BEGIN_EXTERN_C()

0 commit comments

Comments
 (0)