diff options
Diffstat (limited to 'ext/ereg/php_ereg.h')
| -rw-r--r-- | ext/ereg/php_ereg.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/ext/ereg/php_ereg.h b/ext/ereg/php_ereg.h index b7f8262d2f..0ffa7438bd 100644 --- a/ext/ereg/php_ereg.h +++ b/ext/ereg/php_ereg.h @@ -33,9 +33,6 @@ #ifndef _REG_H #define _REG_H -extern zend_module_entry regexp_module_entry; -#define regexp_module_ptr ®exp_module_entry - char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); PHP_FUNCTION(ereg); @@ -49,6 +46,10 @@ typedef struct { HashTable ht_rc; } php_reg_globals; +PHP_MINIT_FUNCTION(regex); +PHP_MSHUTDOWN_FUNCTION(regex); +PHP_MINFO_FUNCTION(regex); + #ifdef ZTS #define REGLS_D php_reg_globals *reg_globals @@ -66,6 +67,4 @@ typedef struct { #define REGLS_FETCH() #endif -#define phpext_regex_ptr regexp_module_ptr - #endif /* _REG_H */ |
