(fetch_getcommand): Changed proto to make gcc 4.0 happy.
Showing
1 changed file
with
2 additions
and
2 deletions
... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment