[Mesa-dev] [PATCH 08/30] i965/ir: Add include guards to the live variables header files.
Francisco Jerez
currojerez at riseup.net
Mon Mar 14 03:47:12 UTC 2016
---
src/mesa/drivers/dri/i965/brw_fs_live_variables.h | 5 +++++
src/mesa/drivers/dri/i965/brw_vec4_live_variables.h | 5 +++++
2 files changed, 10 insertions(+)
diff --git a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
index 882315a..a5c1764 100644
--- a/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
+++ b/src/mesa/drivers/dri/i965/brw_fs_live_variables.h
@@ -25,6 +25,9 @@
*
*/
+#ifndef BRW_FS_LIVE_VARIABLES_H
+#define BRW_FS_LIVE_VARIABLES_H
+
#include "brw_fs.h"
#include "util/bitset.h"
@@ -113,3 +116,5 @@ protected:
};
} /* namespace brw */
+
+#endif
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.h b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.h
index f55bed7..ae8e406 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_live_variables.h
+++ b/src/mesa/drivers/dri/i965/brw_vec4_live_variables.h
@@ -25,6 +25,9 @@
*
*/
+#ifndef BRW_VEC4_LIVE_VARIABLES_H
+#define BRW_VEC4_LIVE_VARIABLES_H
+
#include "util/bitset.h"
#include "brw_vec4.h"
@@ -99,3 +102,5 @@ var_from_reg(const simple_allocator &alloc, const dst_reg ®,
}
} /* namespace brw */
+
+#endif
--
2.7.0
More information about the mesa-dev
mailing list