[Mesa-dev] [PATCH 09/11] mesa/main: do not wrap header inclusion in extern "C"
Emil Velikov
emil.l.velikov at gmail.com
Tue Nov 24 08:29:26 PST 2015
From: Emil Velikov <emil.velikov at collabora.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
src/mesa/main/samplerobj.h | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h
index 7bea911..8c2325c 100644
--- a/src/mesa/main/samplerobj.h
+++ b/src/mesa/main/samplerobj.h
@@ -27,14 +27,12 @@
#ifndef SAMPLEROBJ_H
#define SAMPLEROBJ_H
+#include "mtypes.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-
-#include "mtypes.h"
-
-
struct dd_function_table;
static inline struct gl_sampler_object *
--
2.6.2
More information about the mesa-dev
mailing list