[syslinux] [PATCH 1/3] Mark e820_types as extern in header to avoid duplicate symbol
Josh Triplett
josh at joshtriplett.org
Sat Apr 17 12:35:53 PDT 2021
Signed-off-by: Josh Triplett <josh at joshtriplett.org>
---
com32/gplinclude/memory.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/com32/gplinclude/memory.h b/com32/gplinclude/memory.h
index fe33c18d..1128d539 100644
--- a/com32/gplinclude/memory.h
+++ b/com32/gplinclude/memory.h
@@ -37,7 +37,7 @@ struct e820entry {
uint64_t type; /* type of memory segment */
} __attribute__ ((packed));
-const char *const e820_types[5];
+extern const char *const e820_types[5];
void get_type(int, char *, int);
void detect_memory_e820(struct e820entry *desc, int size_map, int *size_found);
--
2.31.0
More information about the Syslinux
mailing list