[Mesa-dev] [PATCH 05/11] xmesa: do not wrap header inclusion in extern "C"
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 24 08:29:22 PST 2015
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/mesa/drivers/x11/xmesa.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/mesa/drivers/x11/xmesa.h b/src/mesa/drivers/x11/xmesa.h
index b6a2576..cc878e7 100644
--- a/src/mesa/drivers/x11/xmesa.h
+++ b/src/mesa/drivers/x11/xmesa.h
@@ -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
--
2.6.2
More information about the mesa-dev
mailing list