mesa/main: 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:38 +00:00
parent 2438c0a236
commit f66fe28d9f
5 changed files with 11 additions and 3 deletions

View File

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

View File

@ -27,7 +27,6 @@
* INTEL_performance_query extension.
*/
#pragma once
#ifndef PERFORMANCE_MONITOR_H
#define PERFORMANCE_MONITOR_H

View File

@ -26,7 +26,6 @@
* Core Mesa support for the INTEL_performance_query extension
*/
#pragma once
#ifndef PERFORMANCE_QUERY_H
#define PERFORMANCE_QUERY_H

View File

@ -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 */

View File

@ -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 */