File tree Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Expand file tree Collapse file tree 5 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 32
32
ZEND_DECLARE_MODULE_GLOBALS (bcmath )
33
33
static PHP_GINIT_FUNCTION (bcmath );
34
34
static PHP_GSHUTDOWN_FUNCTION (bcmath );
35
+ static PHP_MINIT_FUNCTION (bcmath );
36
+ static PHP_MSHUTDOWN_FUNCTION (bcmath );
37
+ static PHP_MINFO_FUNCTION (bcmath );
35
38
36
39
zend_module_entry bcmath_module_entry = {
37
40
STANDARD_MODULE_HEADER ,
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ typedef struct bc_struct {
55
55
56
56
#include <stdbool.h>
57
57
#include "zend_string.h"
58
- #include "php.h" /* Needed for safe_pemalloc() in init.c */
59
58
#include "../../php_bcmath.h" /* Needed for BCG() macro */
60
59
61
60
/* The base used in storing the numbers in n_value above.
Original file line number Diff line number Diff line change 3
3
#else
4
4
#include <php_config.h>
5
5
#endif
6
-
7
- #include "php.h"
8
- #include <string.h>
9
- #include "zend.h"
10
- #include "zend_alloc.h"
Original file line number Diff line number Diff line change 29
29
30
30
*************************************************************************/
31
31
32
- #include <config.h>
33
32
#include <stdio.h>
34
- #include <stdlib.h>
35
- #include <ctype.h>
36
- #include <stdarg.h>
37
33
#include "bcmath.h"
38
34
#include "private.h"
39
35
Original file line number Diff line number Diff line change 18
18
#define PHP_BCMATH_H
19
19
20
20
#include "libbcmath/src/bcmath.h"
21
+ #include "zend_API.h"
21
22
22
23
extern zend_module_entry bcmath_module_entry ;
23
24
#define phpext_bcmath_ptr &bcmath_module_entry
24
25
25
26
#include "php_version.h"
26
27
#define PHP_BCMATH_VERSION PHP_VERSION
27
28
28
- PHP_MINIT_FUNCTION (bcmath );
29
- PHP_MSHUTDOWN_FUNCTION (bcmath );
30
- PHP_MINFO_FUNCTION (bcmath );
31
-
32
29
ZEND_BEGIN_MODULE_GLOBALS (bcmath )
33
30
bc_num _zero_ ;
34
31
bc_num _one_ ;
You can’t perform that action at this time.
0 commit comments