From: Daniel Beulshausen Date: Mon, 11 Jun 2001 15:18:44 +0000 (+0000) Subject: used in extension(s) as well X-Git-Tag: PRE_GRANULAR_GARBAGE_FIX~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=491fcd2ef89b1534e1820aa742bfcce749cab534;p=php used in extension(s) as well --- diff --git a/ext/standard/mail.c b/ext/standard/mail.c index 67a2160028..652febfced 100644 --- a/ext/standard/mail.c +++ b/ext/standard/mail.c @@ -132,7 +132,7 @@ PHP_FUNCTION(mail) /* {{{ php_mail */ -int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) +PHPAPI int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd) { #ifdef PHP_WIN32 int tsm_err; diff --git a/ext/standard/php_mail.h b/ext/standard/php_mail.h index 330482c202..5e5a0e54ca 100644 --- a/ext/standard/php_mail.h +++ b/ext/standard/php_mail.h @@ -26,7 +26,7 @@ PHP_FUNCTION(mail); PHP_FUNCTION(ezmlm_hash); PHP_MINFO_FUNCTION(mail); -extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd); +PHPAPI extern int php_mail(char *to, char *subject, char *message, char *headers, char *extra_cmd); #endif