[Mesa-dev] [PATCH 12/12] aubinator: replace pragma once with ifndef guard
Gandikota, Sirisha
sirisha.gandikota at intel.com
Wed Oct 12 04:46:33 UTC 2016
>-----Original Message-----
>From: mesa-dev [mailto:mesa-dev-bounces at lists.freedesktop.org] On Behalf Of
>Emil Velikov
>Sent: Tuesday, October 11, 2016 10:26 AM
>To: mesa-dev at lists.freedesktop.org
>Cc: emil.l.velikov at gmail.com
>Subject: [Mesa-dev] [PATCH 12/12] aubinator: replace pragma once with ifndef
>guard
>
>From: Emil Velikov <emil.velikov at collabora.com>
>
>Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
>---
> src/intel/tools/decoder.h | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
>diff --git a/src/intel/tools/decoder.h b/src/intel/tools/decoder.h index
>739f194..bbeaa0a 100644
>--- a/src/intel/tools/decoder.h
>+++ b/src/intel/tools/decoder.h
>@@ -21,7 +21,8 @@
> * IN THE SOFTWARE.
> */
>
>-#pragma once
>+#ifndef DECODER_H
>+#define DECODER_H
>
> #include <stdint.h>
> #include <stdbool.h>
>@@ -103,3 +104,5 @@ void gen_field_iterator_init(struct gen_field_iterator
>*iter,
> struct gen_group *group, const uint32_t *p);
>
> bool gen_field_iterator_next(struct gen_field_iterator *iter);
>+
>+#endif /* DECODER_H */
>--
>2.10.0
Reviewed-by: Sirisha Gandikota<sirisha.gandikota at intel.com>
>
>_______________________________________________
>mesa-dev mailing list
>mesa-dev at lists.freedesktop.org
>https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list