* [PATCH] Ignore the alloc_size attribute.
@ 2009-09-30 20:19 Michael Stefaniuc
2009-09-30 21:02 ` Christopher Li
0 siblings, 1 reply; 2+ messages in thread
From: Michael Stefaniuc @ 2009-09-30 20:19 UTC (permalink / raw)
To: linux-sparse
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>
---
Resend for the chrisl tree.
parse.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
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",
--
1.6.5.rc2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-30 21:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 20:19 [PATCH] Ignore the alloc_size attribute Michael Stefaniuc
2009-09-30 21:02 ` Christopher Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).