Commit 3d540178 3d5401784b95e8a3ab648d4f1acb3aa7b991df8a by Sergey Poznyakoff

(fetch_getcommand): Changed proto to make gcc 4.0 happy.

1 parent 29e13e8f
...@@ -64,7 +64,7 @@ static int fetch_header_fields __P ((message_t, char **, unsigned long, unsi ...@@ -64,7 +64,7 @@ static int fetch_header_fields __P ((message_t, char **, unsigned long, unsi
64 static int fetch_header_fields_not __P ((message_t, char **, unsigned long, unsigned long)); 64 static int fetch_header_fields_not __P ((message_t, char **, unsigned long, unsigned long));
65 static int fetch_send_address __P ((const char *)); 65 static int fetch_send_address __P ((const char *));
66 66
67 static struct fetch_command* fetch_getcommand __P ((char *, struct fetch_command[])); 67 static struct fetch_command* fetch_getcommand __P ((char *, struct fetch_command*));
68 68
69 struct fetch_command 69 struct fetch_command
70 { 70 {
...@@ -105,7 +105,7 @@ struct fetch_command ...@@ -105,7 +105,7 @@ struct fetch_command
105 /* Go through the fetch array sub command and returns the the structure. */ 105 /* Go through the fetch array sub command and returns the the structure. */
106 106
107 static struct fetch_command * 107 static struct fetch_command *
108 fetch_getcommand (char *cmd, struct fetch_command command_table[]) 108 fetch_getcommand (char *cmd, struct fetch_command *command_table)
109 { 109 {
110 size_t i, len = strlen (cmd); 110 size_t i, len = strlen (cmd);
111 111
......