Mesa (master): gallium/noop: Add prototype for noop_init_state_functions.
Vinson Lee
vlee at kemper.freedesktop.org
Sun Dec 5 01:31:15 UTC 2010
Module: Mesa
Branch: master
Commit: e72651dc5d70ed97e460e52ace692a70b3c9b50f
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e72651dc5d70ed97e460e52ace692a70b3c9b50f
Author: Vinson Lee <vlee at vmware.com>
Date: Sat Dec 4 17:30:08 2010 -0800
gallium/noop: Add prototype for noop_init_state_functions.
Silences this GCC warning.
noop_state.c:247: warning: no previous prototype for
'noop_init_state_functions'
---
src/gallium/drivers/noop/noop_state.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index 5c62fc1..ad32477 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -243,6 +243,8 @@ static void *noop_create_shader_state(struct pipe_context *ctx,
return nstate;
}
+void noop_init_state_functions(struct pipe_context *ctx);
+
void noop_init_state_functions(struct pipe_context *ctx)
{
ctx->create_blend_state = noop_create_blend_state;
More information about the mesa-commit
mailing list