diff options
author | Jose Fonseca <[email protected]> | 2016-04-26 19:48:12 +0100 |
---|---|---|
committer | Jose Fonseca <[email protected]> | 2016-04-26 21:28:34 +0100 |
commit | 52c7443932bd38d6708fcab2a8dfcc7ed3d678f2 (patch) | |
tree | 4a26c06135a268d3d3220cce432052f5596bba00 /src/glx/glxextensions.h | |
parent | 80e5fb60b40c491acd182dc451236b71e55c11ea (diff) |
glx: Don't enclose includes inside `extern "C" { }`.
Ran `make check` inside src/glx to verify everything compiles and links
correctly.
https://bugs.freedesktop.org/show_bug.cgi?id=95158
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glx/glxextensions.h')
-rw-r--r-- | src/glx/glxextensions.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/glx/glxextensions.h b/src/glx/glxextensions.h index 906b3fc16c0..743ed97fec3 100644 --- a/src/glx/glxextensions.h +++ b/src/glx/glxextensions.h @@ -31,6 +31,10 @@ #ifndef GLX_GLXEXTENSIONS_H #define GLX_GLXEXTENSIONS_H +#ifdef __cplusplus +extern "C" { +#endif + enum { ARB_create_context_bit = 0, @@ -303,4 +307,8 @@ typedef void (*PFNGLXDISABLEEXTENSIONPROC) (const char *name); # endif /* __GNUC__ */ #endif /* GLX_NO_STATIC_EXTENSION_FUNCTIONS */ +#ifdef __cplusplus +} +#endif + #endif /* GLX_GLXEXTENSIONS_H */ |