1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Remove trailing comma from enums; older compilers don't support them.

This commit is contained in:
hniksic 2005-06-15 13:08:48 -07:00
parent 8a957c06ec
commit 73ca5d585b
3 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,13 @@
2005-06-15 Hrvoje Niksic <hniksic@xemacs.org>
* host.h (ip_address): Remove the trailing comma from the type
enum in the no-IPv6 case.
* main.c (struct cmdline_option): Remove the trailing comma from
the enum.
Reported by Jens Schleusener.
2005-05-30 Hrvoje Niksic <hniksic@xemacs.org>
* url.c (strpbrk_or_eos): Check for a recent GCC version before

View File

@ -49,9 +49,9 @@ struct address_list;
typedef struct {
/* Address type. */
enum {
IPV4_ADDRESS,
IPV4_ADDRESS
#ifdef ENABLE_IPV6
IPV6_ADDRESS
, IPV6_ADDRESS
#endif /* ENABLE_IPV6 */
} type;

View File

@ -144,7 +144,7 @@ struct cmdline_option {
OPT__DONT_REMOVE_LISTING,
OPT__EXECUTE,
OPT__NO,
OPT__PARENT,
OPT__PARENT
} type;
const void *data; /* for standard options */
int argtype; /* for non-standard options */