From 802bd74c5f9526faccfdf168b06c0c2c44237840 Mon Sep 17 00:00:00 2001 From: Ben Widawsky Date: Sun, 15 Jan 2012 13:41:42 -0800 Subject: i-g-t: silence -Winline In this case, the code already has a comment about the problem. We don't need to flood the build with this less than useful message. Signed-off-by: Ben Widawsky --- lib/intel_batchbuffer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/intel_batchbuffer.h') diff --git a/lib/intel_batchbuffer.h b/lib/intel_batchbuffer.h index 4b0ae427..4dffda7e 100644 --- a/lib/intel_batchbuffer.h +++ b/lib/intel_batchbuffer.h @@ -43,6 +43,7 @@ void intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch, * be passed as structs rather than dwords, but that's a little bit of * work... */ +#pragma GCC diagnostic ignored "-Winline" static inline int intel_batchbuffer_space(struct intel_batchbuffer *batch) { -- cgit v1.2.3