[Pdbg] [PATCH] script: Mark dtb pointers as extern
Alistair Popple
alistair at popple.id.au
Tue Oct 23 14:35:19 AEDT 2018
From: Amitay Isaacs <amitay at ozlabs.org>
Signed-off-by: Amitay Isaacs <amitay at ozlabs.org>
---
generate_dt_header.sh | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/generate_dt_header.sh b/generate_dt_header.sh
index 80eef17..75350d4 100755
--- a/generate_dt_header.sh
+++ b/generate_dt_header.sh
@@ -16,9 +16,9 @@ cat - <<EOF
#ifndef __${SYMBOL}_H__
#define __${SYMBOL}_H__
-unsigned char ${SYM_START};
-unsigned char ${SYM_END};
-long ${SYM_SIZE};
+extern unsigned char ${SYM_START};
+extern unsigned char ${SYM_END};
+extern long ${SYM_SIZE};
#endif /* __${SYMBOL}_H__ */
EOF
--
2.11.0
More information about the Pdbg
mailing list