summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-04-25 15:28:54 +0100
committerKeith Whitwell <keith@tungstengraphics.com>2008-04-28 18:11:55 +0100
commit546ab045d8a18758ffc44da9dc76ad1335553cf6 (patch)
treeda85768b7affacf81215ca5f0d94fb8ae9eb782e
parenta41b78d107264227f3338446e04dcfda32634f52 (diff)
translate: squash warnings
-rw-r--r--src/gallium/auxiliary/translate/translate_cache.c3
-rw-r--r--src/gallium/auxiliary/translate/translate_cache.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/translate/translate_cache.c b/src/gallium/auxiliary/translate/translate_cache.c
index e91d648eba4..115dc9287e0 100644
--- a/src/gallium/auxiliary/translate/translate_cache.c
+++ b/src/gallium/auxiliary/translate/translate_cache.c
@@ -28,6 +28,7 @@
#include "pipe/p_util.h"
#include "pipe/p_state.h"
#include "translate.h"
+#include "translate_cache.h"
#include "cso_cache/cso_cache.h"
#include "cso_cache/cso_hash.h"
@@ -36,7 +37,7 @@ struct translate_cache {
struct cso_hash *hash;
};
-struct translate_cache * translate_cache_create()
+struct translate_cache * translate_cache_create( void )
{
struct translate_cache *cache = MALLOC_STRUCT(translate_cache);
cache->hash = cso_hash_create();
diff --git a/src/gallium/auxiliary/translate/translate_cache.h b/src/gallium/auxiliary/translate/translate_cache.h
index 63fc57b7ea3..7dba871e579 100644
--- a/src/gallium/auxiliary/translate/translate_cache.h
+++ b/src/gallium/auxiliary/translate/translate_cache.h
@@ -38,7 +38,7 @@ struct translate_cache;
struct translate_key;
struct translate;
-struct translate_cache *translate_cache_create();
+struct translate_cache *translate_cache_create( void );
void translate_cache_destroy(struct translate_cache *cache);
/**