aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/glapi/glapi.h
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2009-08-28 20:12:36 -0700
committerIan Romanick <[email protected]>2009-08-28 20:12:36 -0700
commit1814d6b49c8144180231c3e43ff6b5dc9c32e12b (patch)
tree94475b79e95e3c696016f344ccccce37d0580454 /src/mesa/glapi/glapi.h
parent00413d87426f14df47d90ba3c995e1889e9f88ca (diff)
Put 'extern' first on the line to silence GCC warnings.
Diffstat (limited to 'src/mesa/glapi/glapi.h')
-rw-r--r--src/mesa/glapi/glapi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/glapi/glapi.h b/src/mesa/glapi/glapi.h
index 8f2cf662183..5fb5401229a 100644
--- a/src/mesa/glapi/glapi.h
+++ b/src/mesa/glapi/glapi.h
@@ -80,8 +80,8 @@ typedef void (*_glapi_warning_func)(void *ctx, const char *str, ...);
**/
#if defined (GLX_USE_TLS)
-const extern void *_glapi_Context;
-const extern struct _glapi_table *_glapi_Dispatch;
+extern const void *_glapi_Context;
+extern const struct _glapi_table *_glapi_Dispatch;
extern __thread void * _glapi_tls_Context
__attribute__((tls_model("initial-exec")));