aboutsummaryrefslogtreecommitdiffstats
path: root/com32/elflink/ldlinux/config.h
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2012-11-26 13:08:06 +0000
committerMatt Fleming <matt.fleming@intel.com>2012-11-26 13:11:36 +0000
commit390ec0fa8881da48852e6693df6d5cada6031235 (patch)
tree32d043a94ba9bd84a79361857f685246603ab383 /com32/elflink/ldlinux/config.h
parent71e195441ea968c0fd9af48c1d2e5823b7a0db41 (diff)
downloadsyslinux-390ec0fa8881da48852e6693df6d5cada6031235.tar.gz
syslinux-390ec0fa8881da48852e6693df6d5cada6031235.tar.xz
syslinux-390ec0fa8881da48852e6693df6d5cada6031235.zip
ldlinux: Automatically apply ".c32" extension for COM32 files
If a type-specifier is used on the command line, e.g. .com32 pwd we should apply the ".c32" filename extension automatically as this works elsewhere and this behaviour was present in 4.0x. Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/elflink/ldlinux/config.h')
-rw-r--r--com32/elflink/ldlinux/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/com32/elflink/ldlinux/config.h b/com32/elflink/ldlinux/config.h
index 63e33b69..9b7ce4a4 100644
--- a/com32/elflink/ldlinux/config.h
+++ b/com32/elflink/ldlinux/config.h
@@ -48,5 +48,6 @@ extern int new_linux_kernel(char *okernel, char *ocmdline);
extern void pm_load_high(com32sys_t *regs);
extern void ldlinux_enter_command(void);
+extern const char *apply_extension(const char *kernel, const char *ext);
#endif /* __CONFIG_H__ */