[Mesa-dev] [PATCH 1/3] nir: move stdio.h inclusion before extern C
Emil Velikov
emil.l.velikov at gmail.com
Thu Sep 17 08:25:33 PDT 2015
Cc: Gottfried Haider <gottfried.haider at gmail.com>
Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
src/glsl/nir/nir_types.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/glsl/nir/nir_types.h b/src/glsl/nir/nir_types.h
index a8ff8f2..bf2faf4 100644
--- a/src/glsl/nir/nir_types.h
+++ b/src/glsl/nir/nir_types.h
@@ -27,6 +27,8 @@
#pragma once
+#include <stdio.h>
+
/* C wrapper around glsl_types.h */
#include "../glsl_types.h"
@@ -37,8 +39,6 @@ extern "C" {
struct glsl_type;
#endif
-#include <stdio.h>
-
void glsl_print_type(const struct glsl_type *type, FILE *fp);
void glsl_print_struct(const struct glsl_type *type, FILE *fp);
--
2.5.0
More information about the mesa-dev
mailing list