From 1731bd8655b81e4f588ce4adef1f9f2c165b1fc6 Mon Sep 17 00:00:00 2001 From: "David M. Syzdek" Date: Tue, 31 May 2022 09:15:29 -0800 Subject: libtinytac: replacing tinytac_dflt_opts_neg with tinytac_dflt --- lib/libtinytac/lmemory.c | 3 +-- lib/libtinytac/lmemory.h | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/libtinytac/lmemory.c b/lib/libtinytac/lmemory.c index ddf6693..28a05c3 100644 --- a/lib/libtinytac/lmemory.c +++ b/lib/libtinytac/lmemory.c @@ -136,7 +136,6 @@ TinyTac tinytac_dflt = const char * tinytac_dflt_hosts = TTAC_DFLT_HOSTS; char * tinytac_dflt_hosts_buff = NULL; -unsigned tinytac_dflt_opts_neg = TTAC_DFLT_OPTS_NEG; char ** tinytac_dflt_keys = NULL; @@ -421,7 +420,7 @@ tinytac_set_option_flag( dflt = ((tt)) ? (tinytac_dflt.opts & flag) : (flag & TTAC_DFLT_OPTS); ival = ((invalue)) ? *invalue : dflt; optsp = ((tt)) ? &tt->opts : &tinytac_dflt.opts; - opts_negp = ((tt)) ? &tt->opts_neg : &tinytac_dflt_opts_neg; + opts_negp = ((tt)) ? &tt->opts_neg : &tinytac_dflt.opts_neg; if ((ival)) { diff --git a/lib/libtinytac/lmemory.h b/lib/libtinytac/lmemory.h index 837cc2b..156ae46 100644 --- a/lib/libtinytac/lmemory.h +++ b/lib/libtinytac/lmemory.h @@ -65,7 +65,6 @@ extern TinyTac tinytac_dflt; extern const char * tinytac_dflt_hosts; extern char * tinytac_dflt_hosts_buff; -extern unsigned tinytac_dflt_opts_neg; extern char ** tinytac_dflt_keys; -- cgit v1.2.3