util/ralloc: Fix `extern "C"` usage.
authorJose Fonseca <jfonseca@vmware.com>
Thu, 2 Apr 2015 10:24:26 +0000 (11:24 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Mon, 13 Apr 2015 11:03:26 +0000 (12:03 +0100)
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/util/ralloc.h

index 01f102ba244ff67213ea3a8c83408817ac279062..7587e1190b09db6a4ff4185f3ff4b5155ba2d87d 100644 (file)
 #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.