[Lldb-commits] [lldb] cccb554 - [lldb] Remove unused posix_openpt function definition for Android (#124257)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 24 08:33:09 PST 2025


Author: Brad Smith
Date: 2025-01-24T11:33:05-05:00
New Revision: cccb55491223cd410cb2f83973377dd75757cb60

URL: https://github.com/llvm/llvm-project/commit/cccb55491223cd410cb2f83973377dd75757cb60
DIFF: https://github.com/llvm/llvm-project/commit/cccb55491223cd410cb2f83973377dd75757cb60.diff

LOG: [lldb] Remove unused posix_openpt function definition for Android (#124257)

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

Added: 
    

Modified: 
    lldb/source/Host/common/PseudoTerminal.cpp

Removed: 
    


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


        


More information about the lldb-commits mailing list