[Mesa-dev] [PATCH 2/4] util/ralloc: Fix `extern "C"` usage.
Kenneth Graunke
kenneth at whitecape.org
Thu Apr 2 15:24:03 PDT 2015
On Thursday, April 02, 2015 03:32:54 PM Jose Fonseca wrote:
> ---
> 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.
>
This patch is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20150402/41b892b9/attachment.sig>
More information about the mesa-dev
mailing list