[Mesa-dev] [PATCH 2/4] util/ralloc: Fix `extern "C"` usage.
Jose Fonseca
jfonseca at vmware.com
Thu Apr 2 07:32:54 PDT 2015
---
src/util/ralloc.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/util/ralloc.h b/src/util/ralloc.h
index f088a36..857b1f9 100644
--- a/src/util/ralloc.h
+++ b/src/util/ralloc.h
@@ -46,16 +46,16 @@
#ifndef RALLOC_H
#define RALLOC_H
-#ifdef __cplusplus
-extern "C" {
-#endif
-
#include <stddef.h>
#include <stdarg.h>
#include <stdbool.h>
#include "macros.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* \def ralloc(ctx, type)
* Allocate a new object chained off of the given context.
--
2.1.0
More information about the mesa-dev
mailing list