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/link_varyings.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/compiler/glsl/link_varyings.h') diff --git a/src/compiler/glsl/link_varyings.h b/src/compiler/glsl/link_varyings.h index 6793c3e967c..4e1f6d2e42a 100644 --- a/src/compiler/glsl/link_varyings.h +++ b/src/compiler/glsl/link_varyings.h @@ -21,7 +21,6 @@ * DEALINGS IN THE SOFTWARE. */ -#pragma once #ifndef GLSL_LINK_VARYINGS_H #define GLSL_LINK_VARYINGS_H -- cgit v1.2.3