summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2015-11-24 16:29:26 +0000
committerEmil Velikov <[email protected]>2016-03-09 17:16:51 +0000
commita07192bd6395ea44d28db4f9fe3fd89f4b7aa94a (patch)
tree71c4f0ffa9fa5224c2c5059c1706c66991f053e4 /src/mesa
parent5351dc1522bc2b647bbe3dd09ec2c8e77608b3c7 (diff)
mesa/main: do not wrap header inclusion in extern "C"
Signed-off-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/samplerobj.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/samplerobj.h b/src/mesa/main/samplerobj.h
index abc6e019046..8e9539d8d8f 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 *