Fix compilation warnings
authorJulien Danjou <julien@danjou.info>
Fri, 1 Dec 2006 15:16:53 +0000 (16:16 +0100)
committerPierre Habouzit <madcoder@debian.org>
Fri, 1 Dec 2006 15:23:15 +0000 (16:23 +0100)
Signed-off-by: Julien Danjou <julien@danjou.info>
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
mutt_libesmtp.c

index 7142fbd..e8786d9 100644 (file)
 #include <lib-lib/lib-lib.h>
 
 #include <lib-ui/enter.h>
+#include <lib-ui/curses.h>
 
 #include "mutt.h"
-
+#include "mutt_libesmtp.h"
 
 #if defined (USE_SSL) || (defined (USE_GNUTLS) && defined (HAVE_GNUTLS_OPENSSL_H))
 #include <openssl/ssl.h>
@@ -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;