aboutsummaryrefslogtreecommitdiffstats
path: root/dos/syslinux.c
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-25 18:31:13 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-25 18:31:13 -0700
commit48337e3817f884f3ce8e7632b984a564a0703047 (patch)
tree47cf268a0b189cbcb0365cc4ecb2731dae6f1048 /dos/syslinux.c
parentd672cdd2bd7622f6dc4db4955214abf4dd7a3b6e (diff)
downloadsyslinux-devel-48337e3817f884f3ce8e7632b984a564a0703047.tar.gz
syslinux-devel-48337e3817f884f3ce8e7632b984a564a0703047.tar.xz
syslinux-devel-48337e3817f884f3ce8e7632b984a564a0703047.zip
dos installer: reuse ldlinux_seg
Make ldlinux_seg a global variable, and use it in syslxmod.c. This reduces the size of syslxmod.o fairly significantly. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'dos/syslinux.c')
-rw-r--r--dos/syslinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dos/syslinux.c b/dos/syslinux.c
index ecb7c07e..6bbdada8 100644
--- a/dos/syslinux.c
+++ b/dos/syslinux.c
@@ -115,7 +115,7 @@ int rename(const char *oldname, const char *newname)
}
extern const char __payload_sseg[];
-static uint16_t ldlinux_seg;
+uint16_t ldlinux_seg;
ssize_t write_ldlinux(int fd)
{