diff options
author | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-06 02:11:27 +0000 |
---|---|---|
committer | Joseph Mingrone <jrm@FreeBSD.org> | 2024-09-06 02:36:15 +0000 |
commit | 75d9de99aec2d9f3bdc495c91bbd6d7a2392e2a3 (patch) | |
tree | 99d6c086833d530e5d1d33a8128961f8149843f0 /missing | |
parent | 51a183021fce3928d24b11c319d2787f5a15ae87 (diff) |
Diffstat (limited to 'missing')
-rw-r--r-- | missing/datalinks.c | 2 | ||||
-rw-r--r-- | missing/dlnames.c | 2 | ||||
-rw-r--r-- | missing/getopt_long.c | 3 | ||||
-rw-r--r-- | missing/getservent.c | 2 | ||||
-rw-r--r-- | missing/snprintf.c | 2 | ||||
-rw-r--r-- | missing/strlcat.c | 2 | ||||
-rw-r--r-- | missing/strlcpy.c | 2 | ||||
-rw-r--r-- | missing/strsep.c | 2 |
8 files changed, 1 insertions, 16 deletions
diff --git a/missing/datalinks.c b/missing/datalinks.c index 17f60bec5b54..8b458363c430 100644 --- a/missing/datalinks.c +++ b/missing/datalinks.c @@ -31,9 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> diff --git a/missing/dlnames.c b/missing/dlnames.c index 03c2b38c1b7f..87cfb382865d 100644 --- a/missing/dlnames.c +++ b/missing/dlnames.c @@ -31,9 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> diff --git a/missing/getopt_long.c b/missing/getopt_long.c index ece000623534..e9b1ef5770a1 100644 --- a/missing/getopt_long.c +++ b/missing/getopt_long.c @@ -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. diff --git a/missing/getservent.c b/missing/getservent.c index 39cee068a69b..4da24800fd7d 100644 --- a/missing/getservent.c +++ b/missing/getservent.c @@ -34,9 +34,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> #include <getservent.h> diff --git a/missing/snprintf.c b/missing/snprintf.c index dfff6ee08861..52eb9a61ca66 100644 --- a/missing/snprintf.c +++ b/missing/snprintf.c @@ -31,9 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <stdio.h> #include <stdarg.h> diff --git a/missing/strlcat.c b/missing/strlcat.c index fab7d04f3e8e..9b64465088c0 100644 --- a/missing/strlcat.c +++ b/missing/strlcat.c @@ -28,9 +28,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> diff --git a/missing/strlcpy.c b/missing/strlcpy.c index 9a0b6e6a54b7..00792bc1b9d5 100644 --- a/missing/strlcpy.c +++ b/missing/strlcpy.c @@ -28,9 +28,7 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> diff --git a/missing/strsep.c b/missing/strsep.c index 05f10bccff92..a07660c4bab2 100644 --- a/missing/strsep.c +++ b/missing/strsep.c @@ -31,9 +31,7 @@ * SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include <netdissect-stdinc.h> |