On Mon, Jul 06, 2015 at 11:18:00AM -0700, Kenneth Graunke wrote:
> 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 <kenn...@whitecape.org>
> Cc: ch...@chris-wilson.co.uk
> Cc: matts...@gmail.com
> ---
>  configure.ac      | 1 +
>  src/util/macros.h | 6 ++++++
>  2 files changed, 7 insertions(+)
> 
> I noticed Chris wants to use this in one of his patches, so I figured I'd
> throw together a patch to do this a bit more cleanly.

That would suit me very much. I guess I need to learn about
AX_GCC_FUNC_ATTRIBUTE!

Reviewed-by: Chris Wilson <ch...@chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to