From: Jose Fonseca Date: Thu, 2 Apr 2015 10:24:26 +0000 (+0100) Subject: util/ralloc: Fix `extern "C"` usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=978753e84368ef3afa9288cbfbee1c85b3ab09d1;p=mesa.git util/ralloc: Fix `extern "C"` usage. Reviewed-by: Roland Scheidegger Reviewed-by: Kenneth Graunke --- 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.