From e16c7c867780d6454e93a9b4a10e3a048515e33b Mon Sep 17 00:00:00 2001 From: Michael Stefaniuc Date: Wed, 30 Sep 2009 20:19:30 +0000 Subject: 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 Signed-off-by: Christopher Li --- parse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/parse.c b/parse.c index fa3b45e..c3f9b6a 100644 --- a/parse.c +++ b/parse.c @@ -475,6 +475,8 @@ static struct init_keyword { const char *ignored_attributes[] = { "alias", "__alias__", + "alloc_size", + "__alloc_size__", "always_inline", "__always_inline__", "bounded", -- cgit v1.2.3-65-gdbad