Module: Mesa Branch: master Commit: 978753e84368ef3afa9288cbfbee1c85b3ab09d1 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=978753e84368ef3afa9288cbfbee1c85b3ab09d1
Author: Jose Fonseca <[email protected]> Date: Thu Apr 2 11:24:26 2015 +0100 util/ralloc: Fix `extern "C"` usage. Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> --- 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 01f102b..7587e11 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. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
