From: Steve Holme Date: Sat, 16 Feb 2013 10:28:32 +0000 (+0000) Subject: email: Removed unnecessary forward declaration X-Git-Tag: curl-7_30_0~333 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=39b79c6b752ede7e7ad522ef0ee1073c01945bbc;p=curl email: Removed unnecessary forward declaration Due to the reordering of functions in commit 586f5d361474 the forward declaration to state_upgrade_tls() are no longer required. --- diff --git a/lib/imap.c b/lib/imap.c index ab98e0a96..5fdaf69c7 100644 --- a/lib/imap.c +++ b/lib/imap.c @@ -98,7 +98,6 @@ static int imap_getsock(struct connectdata *conn, curl_socket_t *socks, int numsocks); static CURLcode imap_doing(struct connectdata *conn, bool *dophase_done); static CURLcode imap_setup_connection(struct connectdata *conn); -static CURLcode imap_state_upgrade_tls(struct connectdata *conn); /* * IMAP protocol handler. diff --git a/lib/pop3.c b/lib/pop3.c index 30c880c68..de332f1f4 100644 --- a/lib/pop3.c +++ b/lib/pop3.c @@ -103,7 +103,6 @@ static int pop3_getsock(struct connectdata *conn, curl_socket_t *socks, int numsocks); static CURLcode pop3_doing(struct connectdata *conn, bool *dophase_done); static CURLcode pop3_setup_connection(struct connectdata *conn); -static CURLcode pop3_state_upgrade_tls(struct connectdata *conn); /* * POP3 protocol handler. diff --git a/lib/smtp.c b/lib/smtp.c index efb365930..a8a73f304 100644 --- a/lib/smtp.c +++ b/lib/smtp.c @@ -99,7 +99,6 @@ static int smtp_getsock(struct connectdata *conn, curl_socket_t *socks, int numsocks); static CURLcode smtp_doing(struct connectdata *conn, bool *dophase_done); static CURLcode smtp_setup_connection(struct connectdata *conn); -static CURLcode smtp_state_upgrade_tls(struct connectdata *conn); /* * SMTP protocol handler.