mesa/main: consistently use ifndef guards over pragma once
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 20 Mar 2017 16:04:38 +0000 (16:04 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Wed, 22 Mar 2017 16:55:22 +0000 (16:55 +0000)
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>
src/mesa/main/formatquery.h
src/mesa/main/performance_monitor.h
src/mesa/main/performance_query.h
src/mesa/main/sse_minmax.h
src/mesa/main/streaming-load-memcpy.h

index 1061fd2675326913375ddf713c9330db02fa2c31..66dcf736dcbc1a0663861bc55b27e74d9d9a54d3 100644 (file)
@@ -21,7 +21,6 @@
  * DEALINGS IN THE SOFTWARE.
  */
 
-#pragma once
 #ifndef FORMATQUERY_H
 #define FORMATQUERY_H
 
index 88de14546dc0a0040b8f6bab1e17d559f8a93a51..2ba703276b80800fe99e3bc1d5b3783f70c0a6c8 100644 (file)
@@ -27,7 +27,6 @@
  * INTEL_performance_query extension.
  */
 
-#pragma once
 #ifndef PERFORMANCE_MONITOR_H
 #define PERFORMANCE_MONITOR_H
 
index 8268f0ef1948a9a6f62d12993ccd712da37e8741..784866402bab8e764771c56f0ffd6b95a5fcdd74 100644 (file)
@@ -26,7 +26,6 @@
  * Core Mesa support for the INTEL_performance_query extension
  */
 
-#pragma once
 #ifndef PERFORMANCE_QUERY_H
 #define PERFORMANCE_QUERY_H
 
index 953c4e9eb486fb66b7d68692b117bdfa55c16735..f23a42481df568e5e2d3080225d644edd03d6f5b 100644 (file)
  *
  */
 
+#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 */
index 41eeeeca0f1c99eb9f1be1eec671f7a9758130db..d31c199a27c50d9e3fd92114385b558bccabd29b 100644 (file)
 /* 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 */