summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2024-03-11 23:55:43 -0700
committerThiago Macieira <thiago.macieira@intel.com>2024-03-27 02:37:03 -0700
commit13d6d25c1a835cc606fdbd6aacc1c5fd3332e774 (patch)
tree05b9b402c67ac3adb354b10a42a52698eb6706c3
parent6e12a298f459eb66bf2fc28f5ff36202436c2e0b (diff)
QLibrary/Unix: remove two unused, exported private functions
Commit 87362f3f58056e29563936102b29070f3e7e945a added qt_linux_find_symbol_sys(). Given the authors and reviewers, I'm guessing that was used somewhere in qtdeclarative. Indeed, its use was removed in qtdeclarative/67191c2b3213259c6eaf045154e9370faa085868 ("Remove qqmlmemoryprofiler*"). qt_mac_resolve_sys() was never used in the public repository, as far as I can tell. Change-Id: I6818d78a57394e37857bfffd17bbf1fae8688b1a Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
-rw-r--r--src/corelib/plugin/qlibrary_unix.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/corelib/plugin/qlibrary_unix.cpp b/src/corelib/plugin/qlibrary_unix.cpp
index 1376462ff3..f4eee7fb94 100644
--- a/src/corelib/plugin/qlibrary_unix.cpp
+++ b/src/corelib/plugin/qlibrary_unix.cpp
@@ -275,20 +275,6 @@ bool QLibraryPrivate::unload_sys()
return true;
}
-#if defined(Q_OS_LINUX)
-Q_CORE_EXPORT QFunctionPointer qt_linux_find_symbol_sys(const char *symbol)
-{
- return QFunctionPointer(dlsym(RTLD_DEFAULT, symbol));
-}
-#endif
-
-#ifdef Q_OS_DARWIN
-Q_CORE_EXPORT QFunctionPointer qt_mac_resolve_sys(void *handle, const char *symbol)
-{
- return QFunctionPointer(dlsym(handle, symbol));
-}
-#endif
-
QFunctionPointer QLibraryPrivate::resolve_sys(const char *symbol)
{
QFunctionPointer address = QFunctionPointer(dlsym(pHnd.loadAcquire(), symbol));