projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc6b8f2
)
r300: Fixed "no previous prototype for 'r300RefillCurrentDmaRegion'" warning.
author
Oliver McFadden
<z3ro.geek@gmail.com>
Thu, 15 Mar 2007 18:26:01 +0000
(18:26 +0000)
committer
Oliver McFadden
<z3ro.geek@gmail.com>
Thu, 15 Mar 2007 18:30:33 +0000
(18:30 +0000)
src/mesa/drivers/dri/r300/r300_ioctl.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/r300/r300_ioctl.c
b/src/mesa/drivers/dri/r300/r300_ioctl.c
index
f674fea
..
11e2d42
100644
(file)
--- a/
src/mesa/drivers/dri/r300/r300_ioctl.c
+++ b/
src/mesa/drivers/dri/r300/r300_ioctl.c
@@
-389,7
+389,7
@@
void r300Flush(GLcontext * ctx)
#ifdef USER_BUFFERS
#include "radeon_mm.h"
-void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
+
static
void r300RefillCurrentDmaRegion(r300ContextPtr rmesa, int size)
{
struct r300_dma_buffer *dmabuf;
size = MAX2(size, RADEON_BUFFER_SIZE*16);
@@
-503,7
+503,7
@@
void r300AllocDmaRegion(r300ContextPtr rmesa,
}
#else
-void r300RefillCurrentDmaRegion(r300ContextPtr rmesa)
+
static
void r300RefillCurrentDmaRegion(r300ContextPtr rmesa)
{
struct r300_dma_buffer *dmabuf;
int fd = rmesa->radeon.dri.fd;