From: Pierre Joye Date: Wed, 26 Aug 2009 21:59:54 +0000 (+0000) Subject: - silent warning (fix for #28038) X-Git-Tag: php-5.3.1RC1~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5d017c3e2d29221821f7fcc2057b42eacb73f20f;p=php - silent warning (fix for #28038) --- diff --git a/win32/sendmail.c b/win32/sendmail.c index 9fc7b02fda..c4969ad5e3 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -975,7 +975,7 @@ static unsigned long GetAddr(LPSTR szHost) // Author/Date: garretts 08/18/2009 // History: //********************************************************************/ -int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString ) { +static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString) { char *tmpAddress1, *tmpAddress2; int result; diff --git a/win32/sendmail.h b/win32/sendmail.h index 0ec916d6c8..0a7698e2fe 100644 --- a/win32/sendmail.h +++ b/win32/sendmail.h @@ -47,4 +47,5 @@ static int PostHeader(char *RPath, char *Subject, char *mailTo, char *xheaders T static int Post(LPCSTR msg); static int Ack(char **server_response); static unsigned long GetAddr(LPSTR szHost); +static int FormatEmailAddress(char* Buf, char* EmailAddress, char* FormatString); #endif /* sendmail_h */