summaryrefslogtreecommitdiffstats
path: root/libxtables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2022-06-02 11:16:38 +0200
committerPhil Sutter <phil@nwl.cc>2022-06-23 14:22:22 +0200
commit2c92bb9ba69cf4bec53b3f063f5b42284e2e28d9 (patch)
treef6d707f96916714a9f36372d250853dfaa52b3ce /libxtables
parent0124019fb36859a77c32b6f96eeb4cc3e8ebb432 (diff)
libxtables: Define XT_OPTION_OFFSET_SCALE in xtables.h
This is the last symbol in xshared.h used by libxtables, move it over. Again, treat this as "implementation detail" and hence put it behind XTABLES_INTERNAL-curtains. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'libxtables')
-rw-r--r--libxtables/xtables.c1
-rw-r--r--libxtables/xtoptions.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/libxtables/xtables.c b/libxtables/xtables.c
index 0638f927..dc645162 100644
--- a/libxtables/xtables.c
+++ b/libxtables/xtables.c
@@ -64,7 +64,6 @@
#endif
#include <getopt.h>
#include "iptables/internal.h"
-#include "xshared.h"
#define NPROTO 255
diff --git a/libxtables/xtoptions.c b/libxtables/xtoptions.c
index 9d3ac5c8..8174a560 100644
--- a/libxtables/xtoptions.c
+++ b/libxtables/xtoptions.c
@@ -21,7 +21,6 @@
#include <arpa/inet.h>
#include <netinet/ip.h>
#include "xtables.h"
-#include "xshared.h"
#ifndef IPTOS_NORMALSVC
# define IPTOS_NORMALSVC 0
#endif