From: Julien Danjou Date: Fri, 1 Dec 2006 15:16:53 +0000 (+0100) Subject: Fix compilation warnings X-Git-Url: http://git.madism.org/?a=commitdiff_plain;h=2bffc6c0ec2984441f8f66e23af8d3215f7a6f84;p=apps%2Fmadmutt.git Fix compilation warnings Signed-off-by: Julien Danjou Signed-off-by: Pierre Habouzit --- diff --git a/mutt_libesmtp.c b/mutt_libesmtp.c index 7142fbd..e8786d9 100644 --- a/mutt_libesmtp.c +++ b/mutt_libesmtp.c @@ -14,9 +14,10 @@ #include #include +#include #include "mutt.h" - +#include "mutt_libesmtp.h" #if defined (USE_SSL) || (defined (USE_GNUTLS) && defined (HAVE_GNUTLS_OPENSSL_H)) #include @@ -106,7 +107,8 @@ Done: static int _mutt_libesmtp_auth_interact (auth_client_request_t request, - char **result, int fields, void *arg) + char **result, int fields, + void *arg __attribute__ ((unused))) { int i; @@ -179,7 +181,8 @@ static int handle_invalid_peer_certificate (long vfy_result) { return 1; /* Accept the problem */ } -static void event_cb (smtp_session_t session, int event_no, void *arg,...) +static void event_cb (smtp_session_t session __attribute__ ((unused)), + int event_no, void *arg,...) { va_list alist; int *ok;