From b08aee305ea0caf5035932b26b8fc75782b49160 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:08 +0000 Subject: glsl: consistently use ifndef guards over pragma once MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Through the glsl headers we had an odd mix of guards be that "ifndef", "pragma once" neither or both. Simplify things by using the more common ones (ifndef) and annotating all the sources, barring the generated builting header - builtin_int64.h. The final header - udivmod64.h - is [seemingly] unused and on its way out (patch purge it is on the mailing list). Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- src/compiler/glsl/standalone_scaffolding.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/compiler/glsl/standalone_scaffolding.h') diff --git a/src/compiler/glsl/standalone_scaffolding.h b/src/compiler/glsl/standalone_scaffolding.h index 5d179191fbf..7532d0836f7 100644 --- a/src/compiler/glsl/standalone_scaffolding.h +++ b/src/compiler/glsl/standalone_scaffolding.h @@ -27,7 +27,6 @@ * compiling builtins). */ -#pragma once #ifndef STANDALONE_SCAFFOLDING_H #define STANDALONE_SCAFFOLDING_H -- cgit v1.2.3