Browse Source

Put 'extern' first on the line to silence GCC warnings.

tags/mesa_7_6_rc1
Ian Romanick 16 years ago
parent
commit
1814d6b49c
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/mesa/glapi/glapi.h

+ 2
- 2
src/mesa/glapi/glapi.h View File

@@ -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")));

Loading…
Cancel
Save