summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/atifragshader.h2
-rw-r--r--src/mesa/swrast/s_atifragshader.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/mesa/main/atifragshader.h b/src/mesa/main/atifragshader.h
index 90ada212a01..86214d47389 100644
--- a/src/mesa/main/atifragshader.h
+++ b/src/mesa/main/atifragshader.h
@@ -25,8 +25,6 @@ struct ati_fs_opcode_st
GLint num_src_args;
};
-extern struct ati_fs_opcode_st ati_fs_opcodes[];
-
struct atifragshader_src_register
{
GLuint Index;
diff --git a/src/mesa/swrast/s_atifragshader.c b/src/mesa/swrast/s_atifragshader.c
index 394fac50b66..e3b57b72c8e 100644
--- a/src/mesa/swrast/s_atifragshader.c
+++ b/src/mesa/swrast/s_atifragshader.c
@@ -237,7 +237,7 @@ finish_pass(struct atifs_machine *machine)
}
}
-struct ati_fs_opcode_st ati_fs_opcodes[] = {
+static struct ati_fs_opcode_st ati_fs_opcodes[] = {
{GL_ADD_ATI, 2},
{GL_SUB_ATI, 2},
{GL_MUL_ATI, 2},