diff options
author | Emil Velikov <[email protected]> | 2017-03-20 16:04:38 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-03-22 16:55:22 +0000 |
commit | f66fe28d9f88f4935461b6cfb5a8386ca36a08b1 (patch) | |
tree | 19d322fd8d715844902a1987cb6d33b918c25c53 /src/mesa/main/streaming-load-memcpy.h | |
parent | 2438c0a236639e510716228ffd9578329185fe00 (diff) |
mesa/main: consistently use ifndef guards over pragma once
Signed-off-by: Emil Velikov <[email protected]>
Acked-by: Vedran Miletić <[email protected]>
Acked-by: Juha-Pekka Heikkila <[email protected]>
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/mesa/main/streaming-load-memcpy.h')
-rw-r--r-- | src/mesa/main/streaming-load-memcpy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mesa/main/streaming-load-memcpy.h b/src/mesa/main/streaming-load-memcpy.h index 41eeeeca0f1..d31c199a27c 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 */ |