aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Li <sparse@chrisli.org>2009-09-05 08:32:03 -0700
committerChristopher Li <sparse@chrisli.org>2009-10-16 20:27:58 +0000
commit21fe99391931ba2af11ec15b8450db55876b6334 (patch)
treedff8a21c1d6844971878a76838a89acff554fab3
parentdo not ignore attribute 'noreturn'... (diff)
downloadsparse-21fe99391931ba2af11ec15b8450db55876b6334.tar.gz
sparse-21fe99391931ba2af11ec15b8450db55876b6334.tar.bz2
sparse-21fe99391931ba2af11ec15b8450db55876b6334.zip
Make MOD_NORETURN fits into 32 bit
It is causing compiler warning on 32 bit systems. Move it to lower bits fix it. Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r--symbol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/symbol.h b/symbol.h
index 80ef363..9f5a32f 100644
--- a/symbol.h
+++ b/symbol.h
@@ -214,10 +214,10 @@ struct symbol {
#define MOD_SAFE 0x8000000 // non-null/non-trapping pointer
#define MOD_USERTYPE 0x10000000
+#define MOD_NORETURN 0x20000000
#define MOD_EXPLICITLY_SIGNED 0x40000000
#define MOD_BITWISE 0x80000000
-#define MOD_NORETURN 0x100000000
#define MOD_NONLOCAL (MOD_EXTERN | MOD_TOPLEVEL)
#define MOD_STORAGE (MOD_AUTO | MOD_REGISTER | MOD_STATIC | MOD_EXTERN | MOD_INLINE | MOD_TOPLEVEL)