diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-01-31 21:21:55 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-10-03 21:10:36 +0200 |
commit | 38eda538ece3b9b2d25a2fedcd3b5915ea7b03ba (patch) | |
tree | 878d9b074356f0ef91585522563b6f0bdf99a451 | |
parent | f10aa66a27796a14b2420ba7764b271d28e19d3f (diff) | |
download | sparse-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>
-rw-r--r-- | lib.c | 2 | ||||
-rw-r--r-- | lib.h | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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; @@ -202,7 +202,6 @@ extern unsigned long fpasses; extern int funsigned_char; extern int arch_m64; -extern int arch_msize_long; extern int arch_big_endian; extern int arch_mach; |