compiler: consistently use ifndef guards over pragma once

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Acked-by: Vedran Miletić <vedran@miletic.net>
Acked-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
This commit is contained in:
Emil Velikov
2017-03-20 16:04:07 +00:00
parent b9d035e75b
commit b0bfb5f89c
2 changed files with 4 additions and 2 deletions

View File

@@ -22,7 +22,6 @@
* DEALINGS IN THE SOFTWARE.
*/
#pragma once
#ifndef GLSL_TYPES_H
#define GLSL_TYPES_H

View File

@@ -25,7 +25,8 @@
*
*/
#pragma once
#ifndef NIR_TYPES_H
#define NIR_TYPES_H
#include <stdio.h>
#include <stdbool.h>
@@ -157,3 +158,5 @@ const struct glsl_type *glsl_transposed_type(const struct glsl_type *type);
#ifdef __cplusplus
}
#endif
#endif /* NIR_TYPES_H */