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

Brad Smith via lldb-commits lldb-commits at lists.llvm.org
Fri Jan 24 03:18:20 PST 2025


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



More information about the lldb-commits mailing list