Jordi Mallach <[EMAIL PROTECTED]> wrote:
> Attached is a trivial patch to fix compiles with gcc-4.0.
Thanks, I'd rather change it to
Index: imap4d/fetch.c
===================================================================
RCS file: /cvsroot/mailutils/mailutils/imap4d/fetch.c,v
retrieving revision 1.49
diff -p -u -r1.49 fetch.c
--- imap4d/fetch.c 17 May 2005 13:13:36 -0000 1.49
+++ imap4d/fetch.c 19 May 2005 11:42:54 -0000
@@ -64,7 +64,7 @@ static int fetch_header_fields __P (
static int fetch_header_fields_not __P ((message_t, char **, unsigned long,
unsigned long));
static int fetch_send_address __P ((const char *));
-static struct fetch_command* fetch_getcommand __P ((char *, struct
fetch_command[]));
+static struct fetch_command* fetch_getcommand __P ((char *, struct
fetch_command*));
struct fetch_command
{
@@ -105,7 +105,7 @@ struct fetch_command
/* Go through the fetch array sub command and returns the the structure. */
static struct fetch_command *
-fetch_getcommand (char *cmd, struct fetch_command command_table[])
+fetch_getcommand (char *cmd, struct fetch_command *command_table)
{
size_t i, len = strlen (cmd);
Regards,
Sergey
_______________________________________________
Bug-mailutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-mailutils