[Mesa-dev] [PATCH 09/13] gallium: do not #include foo.h within extern C {}
Nicolai Hähnle
nhaehnle at gmail.com
Fri Feb 17 09:03:18 UTC 2017
On 16.02.2017 16:16, Emil Velikov wrote:
> From: Emil Velikov <emil.velikov at collabora.com>
>
> Analogous to previous commit.
>
> Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
Patches 2-7 & 9:
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
> ---
> src/gallium/auxiliary/tgsi/tgsi_util.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/auxiliary/tgsi/tgsi_util.h b/src/gallium/auxiliary/tgsi/tgsi_util.h
> index 83a930b69c..aa4606d0b2 100644
> --- a/src/gallium/auxiliary/tgsi/tgsi_util.h
> +++ b/src/gallium/auxiliary/tgsi/tgsi_util.h
> @@ -28,12 +28,12 @@
> #ifndef TGSI_UTIL_H
> #define TGSI_UTIL_H
>
> +#include "pipe/p_shader_tokens.h"
> +
> #if defined __cplusplus
> extern "C" {
> #endif
>
> -#include "pipe/p_shader_tokens.h"
> -
> struct tgsi_src_register;
> struct tgsi_full_src_register;
> struct tgsi_full_instruction;
>
More information about the mesa-dev
mailing list