aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@freedesktop.org>2007-04-20 00:41:32 -0700
committerJosh Triplett <josh@freedesktop.org>2007-04-20 00:41:32 -0700
commit7200007ab7e920ae61ac39d6df65e9e6a19e4907 (patch)
treeb87328fc0eb5b5b551a97178385dd8a833137cc5 /ident-list.h
parentUse noreturn on die() and error_die() (diff)
downloadsparse-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.h3
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);