File mutt-fix-warn.diff of Package mutt

Index: mutt-1.5.21/mx.c
===================================================================
--- mutt-1.5.21.orig/mx.c
+++ mutt-1.5.21/mx.c
@@ -719,8 +719,9 @@ CONTEXT *mx_open_mailbox (const char *pa
   unset_option (OPTFORCEREFRESH);
   return (ctx);
 }
 
+void set_buffystats(CONTEXT*);
 /* free up memory associated with the mailbox context */
 void mx_fastclose_mailbox (CONTEXT *ctx)
 {
   int i;
Index: mutt-1.5.21/main.c
===================================================================
--- mutt-1.5.21.orig/main.c
+++ mutt-1.5.21/main.c
@@ -529,8 +529,10 @@ init_extended_keys();
 #define M_NOSYSRC (1<<2)	/* -n */
 #define M_RO      (1<<3)	/* -R */
 #define M_SELECT  (1<<4)	/* -y */
 
+void set_curbuffy(char*);
+
 int main (int argc, char **argv)
 {
   char folder[PATH_MAX] = "";
   char *subject = NULL;
Index: mutt-1.5.21/keymap.c
===================================================================
--- mutt-1.5.21.orig/keymap.c
+++ mutt-1.5.21/keymap.c
@@ -168,9 +168,9 @@ static int parse_fkey(char *s)
  * to bind.
  */
 static int parse_keycode (const char *s)
 {
-    const char *endChar;
+    char *endChar;
     long int result = strtol(s+1, &endChar, 8);
     /* allow trailing whitespace, eg.  < 1001 > */
     while (ISSPACE(*endChar))
 	++endChar;
openSUSE Build Service is sponsored by