xmesa: do not wrap header inclusion in extern "C"
authorEmil Velikov <emil.velikov@collabora.com>
Tue, 24 Nov 2015 16:29:22 +0000 (16:29 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 9 Mar 2016 17:16:50 +0000 (17:16 +0000)
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/drivers/x11/xmesa.h

index b6a2576..cc878e7 100644 (file)
@@ -64,15 +64,15 @@ and create a window, you must do the following to use the X/Mesa interface:
 #ifndef XMESA_H
 #define XMESA_H
 
-#ifdef __cplusplus
-extern "C" {
-#endif
-
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include "xmesa_x.h"
 #include "GL/gl.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 #define XMESA_MAJOR_VERSION 6
 #define XMESA_MINOR_VERSION 3