Thread (1 message) 1 message, 1 author, 2012-06-13
DORMANTno replies

[PATCH v2 04/19] fdt: Add header guard to fdtdec.h

From: Simon Glass <hidden>
Date: 2012-06-13 16:19:40
Also in: u-boot
Subsystem: the rest · Maintainer: Linus Torvalds

This makes it easier to include this header from other headers.

Signed-off-by: Simon Glass <redacted>
---

 include/fdtdec.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/fdtdec.h b/include/fdtdec.h
index d7bef6c..627d077 100644
--- a/include/fdtdec.h
+++ b/include/fdtdec.h
@@ -19,6 +19,8 @@
  * MA 02111-1307 USA
  */
 
+#ifndef __fdtdec_h
+#define __fdtdec_h
 
 /*
  * This file contains convenience functions for decoding useful and
@@ -395,3 +397,4 @@ int fdtdec_get_byte_array(const void *blob, int node, const char *prop_name,
  */
 const u8 *fdtdec_locate_byte_array(const void *blob, int node,
 			     const char *prop_name, int count);
+#endif
-- 
1.7.7.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help