From bb6ca7b3f74b63d45532108730b5c93a57926662 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Tue, 29 Jun 2010 14:30:44 +0100 Subject: [PATCH] draw: Add inline keyword to inline function. Otherwise gcc will warn about unusued functions. --- src/gallium/auxiliary/draw/draw_llvm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/draw/draw_llvm.h b/src/gallium/auxiliary/draw/draw_llvm.h index c98d7fb393b..1ef009b592c 100644 --- a/src/gallium/auxiliary/draw/draw_llvm.h +++ b/src/gallium/auxiliary/draw/draw_llvm.h @@ -193,7 +193,7 @@ struct draw_llvm { LLVMTypeRef vb_ptr_type; }; -static struct llvm_vertex_shader * +static INLINE struct llvm_vertex_shader * llvm_vertex_shader(struct draw_vertex_shader *vs) { return (struct llvm_vertex_shader *)vs; -- 2.30.2