From fd64a5871b671a66f1ba6d6e3aa83ed24d92c099 Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Thu, 5 May 2022 23:48:50 +0200 Subject: 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 --- include/xtables.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/xtables.h') 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))); -- cgit v1.2.3