diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-06-29 14:30:44 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-06-29 14:30:44 +0100 |
commit | bb6ca7b3f74b63d45532108730b5c93a57926662 (patch) | |
tree | 26678e8225d881c97cbf3451d47621ebbd9bce98 | |
parent | 218da1ef34a2466db57f1bcd68a347b49ef469e6 (diff) | |
download | external_mesa3d-bb6ca7b3f74b63d45532108730b5c93a57926662.zip external_mesa3d-bb6ca7b3f74b63d45532108730b5c93a57926662.tar.gz external_mesa3d-bb6ca7b3f74b63d45532108730b5c93a57926662.tar.bz2 |
draw: Add inline keyword to inline function.
Otherwise gcc will warn about unusued functions.
-rw-r--r-- | src/gallium/auxiliary/draw/draw_llvm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_llvm.h b/src/gallium/auxiliary/draw/draw_llvm.h index c98d7fb..1ef009b 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; |