Skip to content

[lldb] Remove unused posix_openpt function definition for Android #124257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

brad0
Copy link
Contributor

@brad0 brad0 commented Jan 24, 2025

This was for the wrapper function that was in
source/Host/android/LibcGlue.cpp. Android added
support 10+ years ago.

This was for the wrapper function that was in
source/Host/android/LibcGlue.cpp. Android added
support 10+ years ago.
@brad0 brad0 requested review from labath and enh-google January 24, 2025 11:18
@brad0 brad0 requested a review from JDevlieghere as a code owner January 24, 2025 11:18
@llvmbot llvmbot added the lldb label Jan 24, 2025
@llvmbot
Copy link
Member

llvmbot commented Jan 24, 2025

@llvm/pr-subscribers-lldb

Author: Brad Smith (brad0)

Changes

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 --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

@brad0 brad0 merged commit cccb554 into llvm:main Jan 24, 2025
9 checks passed
@brad0 brad0 deleted the lldb_android_more branch January 24, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants