v3d: add header guards in v3d_packet_helpers.h
authorIago Toral Quiroga <itoral@igalia.com>
Fri, 26 Jul 2019 06:55:44 +0000 (08:55 +0200)
committerIago 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

index c46089a0e60e286ab72eaf425ec435f81af5cf9a..841df89b32aee98630cb00cd5022fdf442352561 100644 (file)
@@ -21,6 +21,9 @@
  * IN THE SOFTWARE.
  */
 
  * IN THE SOFTWARE.
  */
 
+#ifndef MESA_V3D_PACKET_HELPERS_H
+#define MESA_V3D_PACKET_HELPERS_H
+
 #include <stdio.h>
 #include <stdint.h>
 #include <stdbool.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);
 }
 
    return uif(bits << 16);
 }
 
+#endif