From 978753e84368ef3afa9288cbfbee1c85b3ab09d1 Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Thu, 2 Apr 2015 11:24:26 +0100 Subject: [PATCH] util/ralloc: Fix `extern "C"` usage. Reviewed-by: Roland Scheidegger Reviewed-by: Kenneth Graunke --- 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 01f102ba244..7587e1190b0 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 #include #include #include "macros.h" +#ifdef __cplusplus +extern "C" { +#endif + /** * \def ralloc(ctx, type) * Allocate a new object chained off of the given context. -- 2.30.2