From: Emil Velikov Date: Mon, 20 Mar 2017 16:04:38 +0000 (+0000) Subject: mesa/main: consistently use ifndef guards over pragma once X-Git-Tag: upstream/17.1.0~1128 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f66fe28d9f88f4935461b6cfb5a8386ca36a08b1;p=platform%2Fupstream%2Fmesa.git mesa/main: consistently use ifndef guards over pragma once Signed-off-by: Emil Velikov Acked-by: Vedran Miletić Acked-by: Juha-Pekka Heikkila Reviewed-by: Edward O'Callaghan --- diff --git a/src/mesa/main/formatquery.h b/src/mesa/main/formatquery.h index 1061fd2..66dcf73 100644 --- a/src/mesa/main/formatquery.h +++ b/src/mesa/main/formatquery.h @@ -21,7 +21,6 @@ * DEALINGS IN THE SOFTWARE. */ -#pragma once #ifndef FORMATQUERY_H #define FORMATQUERY_H diff --git a/src/mesa/main/performance_monitor.h b/src/mesa/main/performance_monitor.h index 88de145..2ba7032 100644 --- a/src/mesa/main/performance_monitor.h +++ b/src/mesa/main/performance_monitor.h @@ -27,7 +27,6 @@ * INTEL_performance_query extension. */ -#pragma once #ifndef PERFORMANCE_MONITOR_H #define PERFORMANCE_MONITOR_H diff --git a/src/mesa/main/performance_query.h b/src/mesa/main/performance_query.h index 8268f0e..7848664 100644 --- a/src/mesa/main/performance_query.h +++ b/src/mesa/main/performance_query.h @@ -26,7 +26,6 @@ * Core Mesa support for the INTEL_performance_query extension */ -#pragma once #ifndef PERFORMANCE_QUERY_H #define PERFORMANCE_QUERY_H diff --git a/src/mesa/main/sse_minmax.h b/src/mesa/main/sse_minmax.h index 953c4e9..f23a424 100644 --- a/src/mesa/main/sse_minmax.h +++ b/src/mesa/main/sse_minmax.h @@ -25,6 +25,11 @@ * */ +#ifndef SSE_MINMAX_H +#define SSE_MINMAX_H + void _mesa_uint_array_min_max(const unsigned *ui_indices, unsigned *min_index, unsigned *max_index, const unsigned count); + +#endif /* SSE_MINMAX_H */ diff --git a/src/mesa/main/streaming-load-memcpy.h b/src/mesa/main/streaming-load-memcpy.h index 41eeeec..d31c199 100644 --- a/src/mesa/main/streaming-load-memcpy.h +++ b/src/mesa/main/streaming-load-memcpy.h @@ -29,5 +29,11 @@ /* Copies memory from src to dst, using SSE 4.1's MOVNTDQA to get streaming * read performance from uncached memory. */ + +#ifndef STREAMING_LOAD_MEMCPY_H +#define STREAMING_LOAD_MEMCPY_H + void _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len); + +#endif /* STREAMING_LOAD_MEMCPY_H */