From: Ian Romanick Date: Sat, 29 Aug 2009 03:12:36 +0000 (-0700) Subject: Put 'extern' first on the line to silence GCC warnings. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1814d6b49c8144180231c3e43ff6b5dc9c32e12b;p=mesa.git Put 'extern' first on the line to silence GCC warnings. --- 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")));