[Lldb-commits] [lldb] [lldb] Remove unused posix_openpt function definition for Android (PR #124257)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jan 24 03:18:55 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-lldb
Author: Brad Smith (brad0)
<details>
<summary>Changes</summary>
This was for the wrapper function that was in
source/Host/android/LibcGlue.cpp. Android added
support 10+ years ago.
---
Full diff: https://github.com/llvm/llvm-project/pull/124257.diff
1 Files Affected:
- (modified) lldb/source/Host/common/PseudoTerminal.cpp (-4)
``````````diff
diff --git a/lldb/source/Host/common/PseudoTerminal.cpp b/lldb/source/Host/common/PseudoTerminal.cpp
index d53327973eb270..53e91aff212a4a 100644
--- a/lldb/source/Host/common/PseudoTerminal.cpp
+++ b/lldb/source/Host/common/PseudoTerminal.cpp
@@ -27,10 +27,6 @@
#include <Availability.h>
#endif
-#if defined(__ANDROID__)
-int posix_openpt(int flags);
-#endif
-
using namespace lldb_private;
// PseudoTerminal constructor
``````````
</details>
https://github.com/llvm/llvm-project/pull/124257
More information about the lldb-commits
mailing list