[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-mailutils] gcc-4.0 fixes
From: |
Sergey Poznyakoff |
Subject: |
Re: [bug-mailutils] gcc-4.0 fixes |
Date: |
Thu, 19 May 2005 14:45:14 +0300 |
Jordi Mallach <address@hidden> 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