r600: fix inline issues
authorDave Airlie <airlied@linux.ie>
Sun, 22 Nov 2009 20:31:29 +0000 (06:31 +1000)
committerDave Airlie <airlied@linux.ie>
Sun, 22 Nov 2009 20:31:29 +0000 (06:31 +1000)
src/mesa/drivers/dri/r600/r700_assembler.c
src/mesa/drivers/dri/r600/r700_assembler.h

index 16cdb741ae24e86b0c74bab20a22ca3128e86db8..c46dd757d0db60c086f6332230372f17742ed252 100644 (file)
@@ -4976,7 +4976,7 @@ GLboolean assemble_EXPORT(r700_AssemblerBase *pAsm)
     return GL_TRUE;
 }
 
-inline void decreaseCurrent(r700_AssemblerBase *pAsm, GLuint uReason)
+static inline void decreaseCurrent(r700_AssemblerBase *pAsm, GLuint uReason)
 {
     switch (uReason)
     {
@@ -4996,7 +4996,7 @@ inline void decreaseCurrent(r700_AssemblerBase *pAsm, GLuint uReason)
     };
 }
 
-inline void checkStackDepth(r700_AssemblerBase *pAsm, GLuint uReason, GLboolean bCheckMaxOnly)
+static inline void checkStackDepth(r700_AssemblerBase *pAsm, GLuint uReason, GLboolean bCheckMaxOnly)
 {
     if(GL_TRUE == bCheckMaxOnly)
     {
index 7efb346fa7f5fb1144a0673bcef8f484b2cac1a2..3e4106335a86c580c7cadafefd1afdb58f4d82aa 100644 (file)
@@ -435,8 +435,6 @@ typedef struct r700_AssemblerBase
 } r700_AssemblerBase;
 
 //Internal use
-inline void checkStackDepth(r700_AssemblerBase *pAsm, GLuint uReason, GLboolean bCheckMaxOnly);
-inline void decreaseCurrent(r700_AssemblerBase *pAsm, GLuint uReason);
 BITS addrmode_PVSDST(PVSDST * pPVSDST);
 void setaddrmode_PVSDST(PVSDST * pPVSDST, BITS addrmode);
 void nomask_PVSDST(PVSDST * pPVSDST);