https://github.com/brad0 created 
https://github.com/llvm/llvm-project/pull/124257

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

>From ed441c18d824e25a184f348a0dba7019cfb01b6f Mon Sep 17 00:00:00 2001
From: Brad Smith <b...@comstyle.com>
Date: Fri, 24 Jan 2025 06:13:17 -0500
Subject: [PATCH] [lldb] Remove unused posix_openpt function definition for
 Android

This was for the wrapper function that was in
source/Host/android/LibcGlue.cpp. Android added
support 10+ years ago.
---
 lldb/source/Host/common/PseudoTerminal.cpp | 4 ----
 1 file changed, 4 deletions(-)

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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to