[syslinux] [PATCH 2/3] Mark tcp_conn_ops as extern in header to avoid duplicate symbol

Josh Triplett josh at joshtriplett.org
Sat Apr 17 12:36:12 PDT 2021


Signed-off-by: Josh Triplett <josh at joshtriplett.org>
---
 core/include/core_pxe.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/include/core_pxe.h b/core/include/core_pxe.h
index 19664f9b..54185e09 100644
--- a/core/include/core_pxe.h
+++ b/core/include/core_pxe.h
@@ -265,7 +265,7 @@ void ftp_open(struct url_info *url, int flags, struct inode *inode,
 int ftp_readdir(struct inode *inode, struct dirent *dirent);
 
 /* tcp.c */
-const struct pxe_conn_ops tcp_conn_ops;
+extern const struct pxe_conn_ops tcp_conn_ops;
 
 extern void gpxe_init(void);
 extern int pxe_init(bool quiet);
-- 
2.31.0



More information about the Syslinux mailing list