]> sjero.net Git - wget/commitdiff
[svn] Remove trailing comma from enums; older compilers don't support them.
authorhniksic <devnull@localhost>
Wed, 15 Jun 2005 20:08:48 +0000 (13:08 -0700)
committerhniksic <devnull@localhost>
Wed, 15 Jun 2005 20:08:48 +0000 (13:08 -0700)
src/ChangeLog
src/host.h
src/main.c

index 023fec4977f4c702139e5b4eabaced622c0e9932..bc9df474a47522b0811cbb550010f96e143ed594 100644 (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
index 495f701df003dcb0b705fded24c9700d432b176f..b709c16609f5ed6d3a98b93d62f861b0e27b52f1 100644 (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;
 
index 4824c7b8b39a8c2e661900f938a822f0271052e2..73aba87c598dd009a31a4abaa05369fefffd2192 100644 (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 */