From 56fe510492bc2b95d84f7ab81a994b459076b7d1 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 25 Oct 2019 14:35:51 +0200 Subject: Replace TRUE/FALSE with true/false And drop the conditional defines. Signed-off-by: Phil Sutter Acked-by: Pablo Neira Ayuso --- iptables/iptables.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'iptables/iptables.c') diff --git a/iptables/iptables.c b/iptables/iptables.c index 255b61b1..88ef6cf6 100644 --- a/iptables/iptables.c +++ b/iptables/iptables.c @@ -41,14 +41,6 @@ #include #include "xshared.h" -#ifndef TRUE -#define TRUE 1 -#endif -#ifndef FALSE -#define FALSE 0 -#endif - - #define OPT_FRAGMENT 0x00800U #define NUMBER_OF_OPT ARRAY_SIZE(optflags) static const char optflags[] @@ -1518,7 +1510,7 @@ int do_command4(int argc, char *argv[], char **table, xtables_error(PARAMETER_PROBLEM, "multiple consecutive ! not" " allowed"); - cs.invert = TRUE; + cs.invert = true; optarg[0] = '\0'; continue; } @@ -1531,7 +1523,7 @@ int do_command4(int argc, char *argv[], char **table, continue; break; } - cs.invert = FALSE; + cs.invert = false; } if (!wait && wait_interval_set) -- cgit v1.2.3