@@ -89,7 +89,7 @@ zend_module_entry enchant_module_entry = {
89
89
"enchant" ,
90
90
ext_functions ,
91
91
PHP_MINIT (enchant ),
92
- PHP_MSHUTDOWN ( enchant ) ,
92
+ NULL ,
93
93
NULL , /* Replace with NULL if there's nothing to do at request start */
94
94
NULL , /* Replace with NULL if there's nothing to do at request end */
95
95
PHP_MINFO (enchant ),
@@ -213,13 +213,6 @@ PHP_MINIT_FUNCTION(enchant)
213
213
}
214
214
/* }}} */
215
215
216
- /* {{{ PHP_MSHUTDOWN_FUNCTION */
217
- PHP_MSHUTDOWN_FUNCTION (enchant )
218
- {
219
- return SUCCESS ;
220
- }
221
- /* }}} */
222
-
223
216
static void __enumerate_providers_fn (const char * const name ,
224
217
const char * const desc ,
225
218
const char * const file ,
@@ -353,13 +346,11 @@ PHP_FUNCTION(enchant_broker_set_dict_path)
353
346
354
347
switch (dict_type ) {
355
348
case PHP_ENCHANT_MYSPELL :
356
- PHP_ENCHANT_GET_BROKER ;
357
349
enchant_broker_set_param (pbroker -> pbroker , "enchant.myspell.dictionary.path" , (const char * )value );
358
350
RETURN_TRUE ;
359
351
break ;
360
352
361
353
case PHP_ENCHANT_ISPELL :
362
- PHP_ENCHANT_GET_BROKER ;
363
354
enchant_broker_set_param (pbroker -> pbroker , "enchant.ispell.dictionary.path" , (const char * )value );
364
355
RETURN_TRUE ;
365
356
break ;
@@ -389,12 +380,10 @@ PHP_FUNCTION(enchant_broker_get_dict_path)
389
380
390
381
switch (dict_type ) {
391
382
case PHP_ENCHANT_MYSPELL :
392
- PHP_ENCHANT_GET_BROKER ;
393
383
value = enchant_broker_get_param (pbroker -> pbroker , "enchant.myspell.dictionary.path" );
394
384
break ;
395
385
396
386
case PHP_ENCHANT_ISPELL :
397
- PHP_ENCHANT_GET_BROKER ;
398
387
value = enchant_broker_get_param (pbroker -> pbroker , "enchant.ispell.dictionary.path" );
399
388
break ;
400
389
0 commit comments