diff options
author | Josh Triplett <josh@freedesktop.org> | 2007-04-20 00:41:32 -0700 |
---|---|---|
committer | Josh Triplett <josh@freedesktop.org> | 2007-04-20 00:41:32 -0700 |
commit | 7200007ab7e920ae61ac39d6df65e9e6a19e4907 (patch) | |
tree | b87328fc0eb5b5b551a97178385dd8a833137cc5 /ident-list.h | |
parent | Use noreturn on die() and error_die() (diff) | |
download | sparse-7200007ab7e920ae61ac39d6df65e9e6a19e4907.tar.gz sparse-7200007ab7e920ae61ac39d6df65e9e6a19e4907.tar.bz2 sparse-7200007ab7e920ae61ac39d6df65e9e6a19e4907.zip |
Parse and ignore the __regparm__ attribute, just like regparm.
pthreads from glibc 2.5 uses __attribute__ ((__regparm__ (1)) on some
functions (indirectly through the macro __cleanup_fct_attribute). Sparse
already parsed and ignored regparm, but not __regparm__.
Signed-off-by: Josh Triplett <josh@freedesktop.org>
Diffstat (limited to 'ident-list.h')
-rw-r--r-- | ident-list.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ident-list.h b/ident-list.h index ecdce6d..7633a2f 100644 --- a/ident-list.h +++ b/ident-list.h @@ -53,7 +53,8 @@ IDENT(warn_unused_result); IDENT(noinline); IDENT(deprecated); IDENT(__const); IDENT(__const__); IDENT(noreturn); -IDENT(__noreturn__); IDENT(regparm); IDENT(weak); IDENT(__weak__); +IDENT(__noreturn__); IDENT(regparm); IDENT(__regparm__); +IDENT(weak); IDENT(__weak__); IDENT(__no_instrument_function__); IDENT(no_instrument_function); IDENT(__sentinel__); IDENT(sentinel); IDENT(alias); IDENT(__alias__); IDENT(pure); IDENT(always_inline); |