aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2013-02-10 04:26:56 -0800
committerChristopher Li <sparse@chrisli.org>2013-02-10 04:30:11 -0800
commit6558e30ec635e26e767cee027936a0d0cae79bcb (patch)
treeebc40dd9143bb9d89d7efb8daecb466f96886a73
parent7a1da692083c1d9d2e604df89ed553fd2ede9907 (diff)
downloadsparse-6558e30ec635e26e767cee027936a0d0cae79bcb.tar.gz
remove weak define x86_64
This fix the regression report by Dan Carpenter. "x96_64" can be a valid variable name. Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r--lib.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib.c b/lib.c
index b4d39447..bb814f2e 100644
--- a/lib.c
+++ b/lib.c
@@ -372,8 +372,6 @@ static void handle_arch_m64_finalize(void)
size_t_ctype = &ulong_ctype;
ssize_t_ctype = &long_ctype;
#ifdef __x86_64__
- add_pre_buffer("#weak_define x86_64 1\n");
- add_pre_buffer("#weak_define __x86_64 1\n");
add_pre_buffer("#weak_define __x86_64__ 1\n");
#endif
}