summaryrefslogtreecommitdiff
path: root/src/gallium
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2008-05-08 13:26:23 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2008-05-08 13:26:23 +0100
commit7ffbfaccfb1484a4ffd5aea0e0e1fbb407977a56 (patch)
tree192a6e40751dec9cd5953e815da8f63b5f426c4d /src/gallium
parent82dd0225e7e21a35ca66d439dce8cfa39d782470 (diff)
gallium: Make sure functions have proper prototypes and remove unused variable.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_validate.c2
-rw-r--r--src/gallium/auxiliary/pipebuffer/pb_validate.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/pipebuffer/pb_validate.c b/src/gallium/auxiliary/pipebuffer/pb_validate.c
index a0a0965a46..b32fe2252e 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_validate.c
+++ b/src/gallium/auxiliary/pipebuffer/pb_validate.c
@@ -42,6 +42,7 @@
#include "pb_buffer.h"
#include "pb_buffer_fenced.h"
+#include "pb_validate.h"
struct pb_validate
@@ -107,7 +108,6 @@ pb_validate_fence_cb(void *key, void *value, void *_data)
{
struct pb_buffer *buf = (struct pb_buffer *)key;
struct pb_validate_fence_data *data = (struct pb_validate_fence_data *)_data;
- struct pb_validate *vl = data->vl;
struct pipe_fence_handle *fence = data->fence;
assert(value == key);
diff --git a/src/gallium/auxiliary/pipebuffer/pb_validate.h b/src/gallium/auxiliary/pipebuffer/pb_validate.h
index b0f05d3119..3db1d5330b 100644
--- a/src/gallium/auxiliary/pipebuffer/pb_validate.h
+++ b/src/gallium/auxiliary/pipebuffer/pb_validate.h
@@ -78,7 +78,7 @@ pb_validate_fence(struct pb_validate *vl,
struct pipe_fence_handle *fence);
struct pb_validate *
-pb_validate_create();
+pb_validate_create(void);
void
pb_validate_destroy(struct pb_validate *vl);