File tree 5 files changed +4
-74
lines changed 5 files changed +4
-74
lines changed Original file line number Diff line number Diff line change 19
19
#ifndef PHP_CTYPE_H
20
20
#define PHP_CTYPE_H
21
21
22
- /* You should tweak config.m4 so this symbol (or some else suitable)
23
- gets defined.
24
- */
25
22
#if HAVE_CTYPE
26
23
27
24
extern zend_module_entry ctype_module_entry ;
@@ -33,21 +30,6 @@ extern zend_module_entry ctype_module_entry;
33
30
#define PHP_CTYPE_API
34
31
#endif
35
32
36
- /*
37
- Declare any global variables you may need between the BEGIN
38
- and END macros here:
39
-
40
- ZEND_BEGIN_MODULE_GLOBALS(ctype)
41
- int global_variable;
42
- ZEND_END_MODULE_GLOBALS(ctype)
43
- */
44
-
45
- #ifdef ZTS
46
- #define CTYPEG (v ) TSRMG(ctype_globals_id, php_ctype_globals *, v)
47
- #else
48
- #define CTYPEG (v ) (ctype_globals.v)
49
- #endif
50
-
51
33
#else
52
34
53
35
#define phpext_ctype_ptr NULL
Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ zend_module_entry gmp_module_entry = {
324
324
"gmp" ,
325
325
gmp_functions ,
326
326
ZEND_MODULE_STARTUP_N (gmp ),
327
- ZEND_MODULE_SHUTDOWN_N ( gmp ) ,
327
+ NULL ,
328
328
NULL ,
329
329
ZEND_MODULE_DEACTIVATE_N (gmp ),
330
330
ZEND_MODULE_INFO_N (gmp ),
@@ -409,14 +409,6 @@ ZEND_MODULE_DEACTIVATE_D(gmp)
409
409
}
410
410
/* }}} */
411
411
412
- /* {{{ ZEND_MSHUTDOWN_FUNCTION
413
- */
414
- ZEND_MODULE_SHUTDOWN_D (gmp )
415
- {
416
- return SUCCESS ;
417
- }
418
- /* }}} */
419
-
420
412
/* {{{ ZEND_MINFO_FUNCTION
421
413
*/
422
414
ZEND_MODULE_INFO_D (gmp )
Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ extern zend_module_entry gmp_module_entry;
33
33
#endif
34
34
35
35
ZEND_MODULE_STARTUP_D (gmp );
36
- ZEND_MODULE_SHUTDOWN_D (gmp );
37
36
ZEND_MODULE_DEACTIVATE_D (gmp );
38
37
ZEND_MODULE_INFO_D (gmp );
39
38
Original file line number Diff line number Diff line change 56
56
#ifndef _PHP_XMLRPC_H
57
57
#define _PHP_XMLRPC_H
58
58
59
- /* You should tweak config.m4 so this symbol (or some else suitable)
60
- gets defined.
61
- */
62
59
#if 1 /* HAVE_XMLRPC */
63
60
64
61
extern zend_module_entry xmlrpc_module_entry ;
@@ -71,9 +68,6 @@ extern zend_module_entry xmlrpc_module_entry;
71
68
#endif
72
69
73
70
PHP_MINIT_FUNCTION (xmlrpc );
74
- PHP_MSHUTDOWN_FUNCTION (xmlrpc );
75
- PHP_RINIT_FUNCTION (xmlrpc );
76
- PHP_RSHUTDOWN_FUNCTION (xmlrpc );
77
71
PHP_MINFO_FUNCTION (xmlrpc );
78
72
79
73
PHP_FUNCTION (xmlrpc_encode );
@@ -91,20 +85,6 @@ PHP_FUNCTION(xmlrpc_parse_method_descriptions);
91
85
PHP_FUNCTION (xmlrpc_server_add_introspection_data );
92
86
PHP_FUNCTION (xmlrpc_server_register_introspection_callback );
93
87
94
- /* Fill in this structure and use entries in it
95
- for thread safety instead of using true globals.
96
- */
97
- typedef struct {
98
- int x ; /* fix error in msvc, cannot have empty structs */
99
- } zend_xmlrpc_globals ;
100
-
101
- /* In every function that needs to use variables in zend_xmlrpc_globals,
102
- do call XMLRPCLS_FETCH(); after declaring other variables used by
103
- that function, and always refer to them as XMLRPCG(variable).
104
- You are encouraged to rename these macros something shorter, see
105
- examples in any other php module directory.
106
- */
107
-
108
88
#else
109
89
110
90
#define phpext_xmlrpc_ptr NULL
Original file line number Diff line number Diff line change 73
73
74
74
#define PHP_EXT_VERSION "0.51"
75
75
76
- /* You should tweak config.m4 so this symbol (or some else suitable)
77
- gets defined. */
78
-
79
- ZEND_DECLARE_MODULE_GLOBALS (xmlrpc )
80
-
81
76
static int le_xmlrpc_server ;
82
77
83
78
zend_function_entry xmlrpc_functions [] = {
@@ -103,9 +98,9 @@ zend_module_entry xmlrpc_module_entry = {
103
98
"xmlrpc" ,
104
99
xmlrpc_functions ,
105
100
PHP_MINIT (xmlrpc ),
106
- PHP_MSHUTDOWN ( xmlrpc ) ,
107
- PHP_RINIT ( xmlrpc ), /* Replace with NULL if there's nothing to do at request start */
108
- PHP_RSHUTDOWN ( xmlrpc ), /* Replace with NULL if there's nothing to do at request end */
101
+ NULL ,
102
+ NULL ,
103
+ NULL ,
109
104
PHP_MINFO (xmlrpc ),
110
105
PHP_EXT_VERSION ,
111
106
STANDARD_MODULE_PROPERTIES
@@ -236,24 +231,6 @@ PHP_MINIT_FUNCTION(xmlrpc)
236
231
return SUCCESS ;
237
232
}
238
233
239
- /* module shutdown */
240
- PHP_MSHUTDOWN_FUNCTION (xmlrpc )
241
- {
242
- return SUCCESS ;
243
- }
244
-
245
- /* Remove if there's nothing to do at request start */
246
- PHP_RINIT_FUNCTION (xmlrpc )
247
- {
248
- return SUCCESS ;
249
- }
250
-
251
- /* Remove if there's nothing to do at request end */
252
- PHP_RSHUTDOWN_FUNCTION (xmlrpc )
253
- {
254
- return SUCCESS ;
255
- }
256
-
257
234
/* display info in phpinfo() */
258
235
PHP_MINFO_FUNCTION (xmlrpc )
259
236
{
You can’t perform that action at this time.
0 commit comments