diff options
author | 2009-09-30 20:19:30 +0000 | |
---|---|---|
committer | 2010-03-28 17:51:36 -0700 | |
commit | e16c7c867780d6454e93a9b4a10e3a048515e33b (patch) | |
tree | f147ab4bdcfc7088ec7fb9adacf8219d14e4a32b | |
parent | Ignore the ms_abi/sysv_abi attributes. (diff) | |
download | sparse-e16c7c867780d6454e93a9b4a10e3a048515e33b.tar.gz sparse-e16c7c867780d6454e93a9b4a10e3a048515e33b.tar.bz2 sparse-e16c7c867780d6454e93a9b4a10e3a048515e33b.zip |
Ignore the alloc_size attribute.
Wine has annotated the Win32 alloc functions with the alloc_size
attribute. This cuts down the noise a lot when running sparse on the
Wine source code.
Signed-off-by: Michael Stefaniuc <mstefaniuc@gmail.com>
Signed-off-by: Christopher Li <sparse@chrisli.org>
-rw-r--r-- | parse.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -475,6 +475,8 @@ static struct init_keyword { const char *ignored_attributes[] = { "alias", "__alias__", + "alloc_size", + "__alloc_size__", "always_inline", "__always_inline__", "bounded", |