From: Vinson Lee Date: Sun, 5 Dec 2010 01:30:08 +0000 (-0800) Subject: gallium/noop: Add prototype for noop_init_state_functions. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e72651dc5d70ed97e460e52ace692a70b3c9b50f;p=mesa.git 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' --- diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c index 5c62fc12d8b..ad324774c03 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;