diff options
Diffstat (limited to 'src/VBox/Runtime/common/ldr/ldr.cpp')
-rw-r--r-- | src/VBox/Runtime/common/ldr/ldr.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/VBox/Runtime/common/ldr/ldr.cpp b/src/VBox/Runtime/common/ldr/ldr.cpp index ebe85edb149..af893b0d2e6 100644 --- a/src/VBox/Runtime/common/ldr/ldr.cpp +++ b/src/VBox/Runtime/common/ldr/ldr.cpp @@ -40,23 +40,6 @@ #include "internal/ldr.h" -RTDECL(bool) RTLdrIsLoadable(const char *pszFilename) -{ - /* - * Try to load the library. - */ - RTLDRMOD hLib; - int rc = RTLdrLoad(pszFilename, &hLib); - if (RT_SUCCESS(rc)) - { - RTLdrClose(hLib); - return true; - } - return false; -} -RT_EXPORT_SYMBOL(RTLdrIsLoadable); - - RTDECL(int) RTLdrGetSymbol(RTLDRMOD hLdrMod, const char *pszSymbol, void **ppvValue) { LogFlow(("RTLdrGetSymbol: hLdrMod=%RTldrm pszSymbol=%p:{%s} ppvValue=%p\n", |