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:
parent
8a957c06ec
commit
73ca5d585b
@ -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>
|
2005-05-30 Hrvoje Niksic <hniksic@xemacs.org>
|
||||||
|
|
||||||
* url.c (strpbrk_or_eos): Check for a recent GCC version before
|
* url.c (strpbrk_or_eos): Check for a recent GCC version before
|
||||||
|
@ -49,9 +49,9 @@ struct address_list;
|
|||||||
typedef struct {
|
typedef struct {
|
||||||
/* Address type. */
|
/* Address type. */
|
||||||
enum {
|
enum {
|
||||||
IPV4_ADDRESS,
|
IPV4_ADDRESS
|
||||||
#ifdef ENABLE_IPV6
|
#ifdef ENABLE_IPV6
|
||||||
IPV6_ADDRESS
|
, IPV6_ADDRESS
|
||||||
#endif /* ENABLE_IPV6 */
|
#endif /* ENABLE_IPV6 */
|
||||||
} type;
|
} type;
|
||||||
|
|
||||||
|
@ -144,7 +144,7 @@ struct cmdline_option {
|
|||||||
OPT__DONT_REMOVE_LISTING,
|
OPT__DONT_REMOVE_LISTING,
|
||||||
OPT__EXECUTE,
|
OPT__EXECUTE,
|
||||||
OPT__NO,
|
OPT__NO,
|
||||||
OPT__PARENT,
|
OPT__PARENT
|
||||||
} type;
|
} type;
|
||||||
const void *data; /* for standard options */
|
const void *data; /* for standard options */
|
||||||
int argtype; /* for non-standard options */
|
int argtype; /* for non-standard options */
|
||||||
|
Loading…
Reference in New Issue
Block a user