diff options
author | Phil Sutter <phil@nwl.cc> | 2022-05-05 23:48:50 +0200 |
---|---|---|
committer | Phil Sutter <phil@nwl.cc> | 2022-05-11 12:02:35 +0200 |
commit | fd64a5871b671a66f1ba6d6e3aa83ed24d92c099 (patch) | |
tree | 433b4f605c9108c6576aa9539fbab1efb3385f01 /include | |
parent | 3b8a6a6fa870c5ed4a2c533fcec9524bc98e5709 (diff) |
libxtables: Drop xtables_globals 'optstring' field
Define the different optstrings in xshared.h instead, they are not
relevant for other libxtables users.
This is a partial revert of commit 65b150ae382a8 ("xshared: Store
optstring in xtables_globals") to avoid breaking libxtables' ABI
compatibility.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include')
-rw-r--r-- | include/xtables.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/xtables.h b/include/xtables.h index a93e8f6e..8c1065bc 100644 --- a/include/xtables.h +++ b/include/xtables.h @@ -420,7 +420,6 @@ struct xtables_globals { unsigned int option_offset; const char *program_name, *program_version; - const char *optstring; struct option *orig_opts; struct option *opts; void (*exit_err)(enum xtables_exittype status, const char *msg, ...) __attribute__((noreturn, format(printf,2,3))); |