[Mesa-dev] [PATCH 10/10] glsl: remove unneeded extern "C" {} bracketing around Mesa includes
Nicolai Hähnle
nhaehnle at gmail.com
Wed Jan 17 11:40:22 UTC 2018
For the series:
Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>
On 17.01.2018 06:17, Brian Paul wrote:
> The two headers already have the right extern "C" annotations.
> ---
> src/compiler/glsl/serialize.cpp | 6 ++----
> 1 file changed, 2 insertions(+), 4 deletions(-)
>
> diff --git a/src/compiler/glsl/serialize.cpp b/src/compiler/glsl/serialize.cpp
> index 769ab56..63ce41d 100644
> --- a/src/compiler/glsl/serialize.cpp
> +++ b/src/compiler/glsl/serialize.cpp
> @@ -33,13 +33,11 @@
> #include "compiler/shader_info.h"
> #include "ir_uniform.h"
> #include "main/mtypes.h"
> +#include "main/shaderobj.h"
> +#include "program/program.h"
> #include "string_to_uint_map.h"
> #include "util/bitscan.h"
>
> -extern "C" {
> -#include "main/shaderobj.h"
> -#include "program/program.h"
> -}
>
> static void
> write_subroutines(struct blob *metadata, struct gl_shader_program *prog)
>
--
Lerne, wie die Welt wirklich ist,
Aber vergiss niemals, wie sie sein sollte.
More information about the mesa-dev
mailing list