Thread (31 messages) 31 messages, 6 authors, 2013-08-03
STALE4716d

[RFC PATCH V2 5/9] directly include needed headers

From: Jason Cooper <hidden>
Date: 2013-08-02 15:51:12
Subsystem: the rest · Maintainer: Linus Torvalds

Signed-off-by: Jason Cooper <redacted>
---
 atags.h | 2 ++
 board.h | 3 +++
 print.h | 2 ++
 3 files changed, 7 insertions(+)
diff --git a/atags.h b/atags.h
index 30e6ee7..83f93a1 100644
--- a/atags.h
+++ b/atags.h
@@ -1,6 +1,8 @@
 #ifndef _ATAG_H
 #define _ATAG_H
 
+#include "types.h"
+
 #define ATAG_NONE       0x00000000
 
 struct tag_header {
diff --git a/board.h b/board.h
index 5146db0..af64e94 100644
--- a/board.h
+++ b/board.h
@@ -1,6 +1,9 @@
 #ifndef _BOARD_H
 #define _BOARD_H
 
+#include "types.h"
+#include "atags.h"
+
 struct board {
 	__u32		machid;
 	__u32		system_rev;
diff --git a/print.h b/print.h
index 402def6..5320727 100644
--- a/print.h
+++ b/print.h
@@ -1,6 +1,8 @@
 #ifndef _PRINT_H
 #define _PRINT_H
 
+#include "types.h"
+
 void putch(char c);
 void printhex(__u32 u);
 void putstr(const char *s);
-- 
1.8.3.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help