summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/cso_cache/cso_cache.c
diff options
context:
space:
mode:
authorZack Rusin <zack@tungstengraphics.com>2008-02-26 00:18:54 -0500
committerZack Rusin <zack@tungstengraphics.com>2008-02-26 01:51:46 -0500
commite7985105695a18c29c13deb2b8f40c15eef72ee6 (patch)
tree6974204f4299b0bbb50a45e7c938ee17088b917c /src/gallium/auxiliary/cso_cache/cso_cache.c
parentbf1c2f3602038440ffacf7ae494cb4e9bacc9bb9 (diff)
downloadexternal_mesa3d-e7985105695a18c29c13deb2b8f40c15eef72ee6.zip
external_mesa3d-e7985105695a18c29c13deb2b8f40c15eef72ee6.tar.gz
external_mesa3d-e7985105695a18c29c13deb2b8f40c15eef72ee6.tar.bz2
add an explicit callback decleration and use it to silence warnings
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_cache.c')
-rw-r--r--src/gallium/auxiliary/cso_cache/cso_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_cache.c b/src/gallium/auxiliary/cso_cache/cso_cache.c
index 1b870c8..f31042b 100644
--- a/src/gallium/auxiliary/cso_cache/cso_cache.c
+++ b/src/gallium/auxiliary/cso_cache/cso_cache.c
@@ -203,7 +203,7 @@ struct cso_cache *cso_cache_create(void)
}
void cso_for_each_state(struct cso_cache *sc, enum cso_cache_type type,
- void (*func)(void *state, void *user_data), void *user_data)
+ cso_state_callback func, void *user_data)
{
struct cso_hash *hash = 0;
struct cso_hash_iter iter;