From: Pierre Joye Date: Wed, 26 Aug 2009 21:59:54 +0000 (+0000) Subject: - silent warning (fix for #28038) X-Git-Tag: php-5.2.11RC2~25 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1cbf3eb6c3dfab4a9c1d806ff143bfe0bc996521;p=php - silent warning (fix for #28038) --- diff --git a/win32/sendmail.c b/win32/sendmail.c index cd60b40db6..cb46a3be47 100644 --- a/win32/sendmail.c +++ b/win32/sendmail.c @@ -937,7 +937,7 @@ static unsigned long GetAddr(LPSTR szHost) // Author/Date: garretts 08/18/2009 // History: //********************************************************************/ -int FormatEmailAddress(char* Buffer, char* EmailAddress, char* FormatString ) { +static int FormatEmailAddress(char* Buffer, char* EmailAddress, char* FormatString) { char *tmpAddress1, *tmpAddress2; int result; diff --git a/win32/sendmail.h b/win32/sendmail.h index 0ec916d6c8..605a2879b4 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* Buffer, char* EmailAddress, char* FormatString); #endif /* sendmail_h */