commit | 128de6f6d7cd0eb5386dcc622afc6e28a8512e7f | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Mon Jul 06 11:04:19 2015 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jul 06 13:40:16 2015 -0700 |
tree | ec9c075b7d47ad38ec59b131fe92db651fdb45e3 | |
parent | 86a3557d7c95ac945eedf42ab095639b255c1bed [diff] |
mesa: Add a MUST_CHECK macro for __attribute__((warn_unused_result)). In the kernel, this is called __must_check; all our attribute macros in Mesa appear to be uppercase, so I went with that. Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Matt Turner <mattst88@gmail.com>