diff options
author | Kevin DeKorte <kdekorte@gmail.com> | 2009-07-15 17:13:09 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2009-07-15 17:13:09 -0400 |
commit | 92a2f0164aece1584e7c4ea8c5c44af43a1de8c3 (patch) | |
tree | 3271e814039140179110c7f97dcd5f56e326fbfc /src/mesa/drivers/dri/r600/r700_chip.c | |
parent | 01b793ec7d1ecba53fb0620f07a928872b0ce033 (diff) |
R6xx/r7xx: warning fixes
Diffstat (limited to 'src/mesa/drivers/dri/r600/r700_chip.c')
-rw-r--r-- | src/mesa/drivers/dri/r600/r700_chip.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/r600/r700_chip.c b/src/mesa/drivers/dri/r600/r700_chip.c index b40550d683..535f55525e 100644 --- a/src/mesa/drivers/dri/r600/r700_chip.c +++ b/src/mesa/drivers/dri/r600/r700_chip.c @@ -47,6 +47,9 @@ do \ pStateListWork++; \ }while(0) +inline GLboolean needRelocReg(context_t *context, unsigned int reg); +inline static GLboolean setRelocReg(context_t *context, unsigned int reg); + GLboolean r700InitChipObject(context_t *context) { ContextState * pStateListWork; @@ -421,7 +424,7 @@ inline GLboolean needRelocReg(context_t *context, unsigned int reg) return GL_FALSE; } -inline GLboolean setRelocReg(context_t *context, unsigned int reg) +inline static GLboolean setRelocReg(context_t *context, unsigned int reg) { BATCH_LOCALS(&context->radeon); R700_CHIP_CONTEXT *r700 = R700_CONTEXT_STATES(context); |