[compiler-rt] Remove two declarations without definitions (PR #219511)

Tom Tromey via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 09:14:27 PDT 2026


https://github.com/tromey created https://github.com/llvm/llvm-project/pull/219511

Commit 3dc4fd6d removed the definitions of struct_scc_modem_sz and struct_scc_stat_sz, but left the declarations in a header.  This patch removes the leftovers.

>From a40ea9e5fb0b167070d3d38a56ea201ea01fdc1f Mon Sep 17 00:00:00 2001
From: Tom Tromey <tromey at adacore.com>
Date: Fri, 28 Aug 2026 08:49:59 -0600
Subject: [PATCH] Remove two declarations without definitions

Commit 3dc4fd6d removed the definitions of struct_scc_modem_sz and
struct_scc_stat_sz, but left the declarations in a header.  This patch
removes the leftovers.
---
 .../lib/sanitizer_common/sanitizer_platform_limits_posix.h      | 2 --
 1 file changed, 2 deletions(-)

diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
index 73eb958c82721..136496dbd761f 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.h
@@ -1174,8 +1174,6 @@ extern unsigned struct_kbkeycode_sz;
 extern unsigned struct_kbsentry_sz;
 extern unsigned struct_mtconfiginfo_sz;
 extern unsigned struct_nr_parms_struct_sz;
-extern unsigned struct_scc_modem_sz;
-extern unsigned struct_scc_stat_sz;
 extern unsigned struct_serial_multiport_struct_sz;
 extern unsigned struct_serial_struct_sz;
 extern unsigned struct_sockaddr_ax25_sz;



More information about the llvm-commits mailing list