aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/lib.c
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-01-31 21:21:55 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2019-10-03 21:10:36 +0200
commit38eda538ece3b9b2d25a2fedcd3b5915ea7b03ba (patch)
tree878d9b074356f0ef91585522563b6f0bdf99a451 /lib.c
parentf10aa66a27796a14b2420ba7764b271d28e19d3f (diff)
downloadsparse-dev-38eda538ece3b9b2d25a2fedcd3b5915ea7b03ba.tar.gz
cleanup: make arch_msize_long static
This variable is used to set 'size_t_ctype' with the option '-msize-long'. Code that cares should directly use size_t_ctype, not 'arch_msize_long'. To be sure that some random code doesn't use 'arch_msize_long', make it local to "lib.c". Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'lib.c')
-rw-r--r--lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib.c b/lib.c
index 83e6a1e1..75a4f987 100644
--- a/lib.c
+++ b/lib.c
@@ -322,8 +322,8 @@ static enum { STANDARD_C89,
STANDARD_GNU89,
STANDARD_GNU99, } standard = STANDARD_GNU89;
+static int arch_msize_long = 0;
int arch_m64 = ARCH_M64_DEFAULT;
-int arch_msize_long = 0;
int arch_big_endian = ARCH_BIG_ENDIAN;
int arch_mach = MACH_NATIVE;