diff options
-rw-r--r-- | ext/ereg/ereg.c | 2 | ||||
-rw-r--r-- | ext/ereg/php_ereg.h | 2 | ||||
-rw-r--r-- | ext/standard/reg.c | 2 | ||||
-rw-r--r-- | ext/standard/reg.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/ext/ereg/ereg.c b/ext/ereg/ereg.c index 5bc7639c0f..a711f4abb5 100644 --- a/ext/ereg/ereg.c +++ b/ext/ereg/ereg.c @@ -263,7 +263,7 @@ PHP_FUNCTION(eregi) /* {{{ php_reg_replace * this is the meat and potatoes of regex replacement! */ -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) { regex_t re; regmatch_t subs[NS]; diff --git a/ext/ereg/php_ereg.h b/ext/ereg/php_ereg.h index c8adf74956..26edfe9af9 100644 --- a/ext/ereg/php_ereg.h +++ b/ext/ereg/php_ereg.h @@ -22,7 +22,7 @@ #ifndef REG_H #define REG_H -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); PHP_FUNCTION(ereg); PHP_FUNCTION(eregi); diff --git a/ext/standard/reg.c b/ext/standard/reg.c index 5bc7639c0f..a711f4abb5 100644 --- a/ext/standard/reg.c +++ b/ext/standard/reg.c @@ -263,7 +263,7 @@ PHP_FUNCTION(eregi) /* {{{ php_reg_replace * this is the meat and potatoes of regex replacement! */ -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended) { regex_t re; regmatch_t subs[NS]; diff --git a/ext/standard/reg.h b/ext/standard/reg.h index c8adf74956..26edfe9af9 100644 --- a/ext/standard/reg.h +++ b/ext/standard/reg.h @@ -22,7 +22,7 @@ #ifndef REG_H #define REG_H -char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); +PHPAPI char *php_reg_replace(const char *pattern, const char *replace, const char *string, int icase, int extended); PHP_FUNCTION(ereg); PHP_FUNCTION(eregi); |