diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2012-08-07 10:40:12 +0100 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2012-08-07 10:40:12 +0100 |
| commit | d1d03dee6bc961b0afd8dfc68fd35772ecded8be (patch) | |
| tree | 959159a6c09fa536f640256ac743851644a6ec38 /com32/include | |
| parent | 2e512282fd37f7dcb6d33e025e389f11d6d6d42f (diff) | |
| download | syslinux-d1d03dee6bc961b0afd8dfc68fd35772ecded8be.tar.gz | |
ldlinux: Use findpath() to lookup filenamessyslinux-5.00-pre7
We should use the same method of opening files as the module code when
searching for extensions. In particular, we should search all of PATH.
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
Diffstat (limited to 'com32/include')
| -rw-r--r-- | com32/include/sys/module.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/com32/include/sys/module.h b/com32/include/sys/module.h index 095eb974..ea11a88f 100644 --- a/com32/include/sys/module.h +++ b/com32/include/sys/module.h @@ -146,6 +146,8 @@ struct module_dep { */ extern struct elf_module *unload_modules_since(const char *name); +extern FILE *findpath(char *name); + #ifdef DYNAMIC_MODULE |
