]> The Tcpdump Group git mirrors - tcpdump/blobdiff - missing/getopt_long.c
CI: Add warning exemptions for Sun C (suncc-5.14) on Solaris 10
[tcpdump] / missing / getopt_long.c
index 927028ffc34d75a61aa02f326d8632dda50a71e8..e9b1ef5770a132fb546c09ddde2bf29c3c5b1f96 100644 (file)
@@ -70,7 +70,7 @@
 /* return values */
 #define        BADCH           (int)'?'
 #define        BADARG          ((*options == ':') ? (int)':' : (int)'?')
-#define        INORDER         (int)1
+#define        INORDER         (int)1
 
 #define        EMSG            ""
 
@@ -419,8 +419,7 @@ start:
                                permute_args(nonopt_start, nonopt_end,
                                    optind, nargv);
                                optind -= nonopt_end - nonopt_start;
-                       }
-                       else if (nonopt_start != -1) {
+                       } else if (nonopt_start != -1) {
                                /*
                                 * If we skipped non-options, set optind
                                 * to the first of them.