projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7eac8a
)
v3d: add header guards in v3d_packet_helpers.h
author
Iago Toral Quiroga
<itoral@igalia.com>
Fri, 26 Jul 2019 06:55:44 +0000
(08:55 +0200)
committer
Iago Toral Quiroga
<itoral@igalia.com>
Thu, 8 Aug 2019 06:36:52 +0000
(08:36 +0200)
Reviewed-by: Eric Anholt <eric@anholt.net>
src/broadcom/cle/v3d_packet_helpers.h
patch
|
blob
|
history
diff --git
a/src/broadcom/cle/v3d_packet_helpers.h
b/src/broadcom/cle/v3d_packet_helpers.h
index c46089a0e60e286ab72eaf425ec435f81af5cf9a..841df89b32aee98630cb00cd5022fdf442352561 100644
(file)
--- a/
src/broadcom/cle/v3d_packet_helpers.h
+++ b/
src/broadcom/cle/v3d_packet_helpers.h
@@
-21,6
+21,9
@@
* IN THE SOFTWARE.
*/
+#ifndef MESA_V3D_PACKET_HELPERS_H
+#define MESA_V3D_PACKET_HELPERS_H
+
#include <stdio.h>
#include <stdint.h>
#include <stdbool.h>
@@
-214,3
+217,4
@@
__gen_unpack_f187(const uint8_t *restrict cl, uint32_t start, uint32_t end)
return uif(bits << 16);
}
+#endif