argv-iter: omit nonconforming declaration
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 03:49:40 +0000 (20:49 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 14 Oct 2010 03:50:11 +0000 (20:50 -0700)
* lib/argv-iter.h (enum argv_iter_err): Omit the useless
enum arg_iter_err declaration, which doesn't conform to C99.
Solaris 10 cc warns about this.

ChangeLog
lib/argv-iter.h

index acb1934..8bd4153 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-10-13  Paul Eggert  <eggert@cs.ucla.edu>
+
+       argv-iter: omit nonconforming declaration
+       * lib/argv-iter.h (enum argv_iter_err): Omit the useless
+       enum arg_iter_err declaration, which doesn't conform to C99.
+       Solaris 10 cc warns about this.
+
 2010-10-13  Eric Blake  <eblake@redhat.com>
 
        termios: fix compilation on mingw
index 685faa2..d14d46d 100644 (file)
@@ -21,7 +21,6 @@
 #include "arg-nonnull.h"
 
 struct argv_iterator;
-enum argv_iter_err;
 
 enum argv_iter_err
 {