summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2009-08-26 21:59:54 +0000
committerPierre Joye <pajoye@php.net>2009-08-26 21:59:54 +0000
commit5d017c3e2d29221821f7fcc2057b42eacb73f20f (patch)
treeccb1a0814a981eeed8083d74b5fe0527ddbac3e9 /win32
parent43b4d73dc28d11f32d1b6417b5e6aff42f17e243 (diff)
downloadphp-git-5d017c3e2d29221821f7fcc2057b42eacb73f20f.tar.gz
- silent warning (fix for #28038)
Diffstat (limited to 'win32')
-rw-r--r--win32/sendmail.c2
-rw-r--r--win32/sendmail.h1
2 files changed, 2 insertions, 1 deletions
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 */