From nobody Fri Oct 30 13:52:34 2026 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4jGMwy52nlz6wtw3 for ; Fri, 30 Oct 2026 13:52:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4jGMwy4FSCz4kMv for ; Fri, 30 Oct 2026 13:52:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793368354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1pVuWS/gqV4PshUtvEX2RacsaGdRM31g2ZRm3MknzkQ=; b=Hr/OkhPyFtmdnhcOiMWAdWq6Mg0brs9UngIBXCdAsJ6mNFXtr0w+bn9CX/Qml65xcLVGs5 DWft3YspEPqBGE+wX0aWQJrupTByFTbHQPrPe4joFJJ90ZLaOh4wjetA5jNqjheMRJAbor Lv7FCzW2E7AK323zpyWmW/QAx8dOcJDDUdZslmth367sOWLJe/3e6URl8e5oLRf/kekSuN OEqv2X4stKtKZ61LZ/kBI3tlWjbtuo/Lod4hF7/Ypqsx4423IShhwYp20KfjEzOA5Ciu5s APPZjVZ4qUWxzgDXYpDN5+TCprBRPHeJBWqbb+ZSZlUPCUyAJrUpU0aIKHOBIg== ARC-Seal: i=1; a=rsa-sha256; d=freebsd.org; s=dkim; cv=none; t=1793368354; b=YWxdqBOKj6/j9ElcD+LQ5zcwPsC2K1s9ZH1tp9N3Q1TLml8xA0UQtH1U7An5vk9KOzw/9L Bopatccs+4xTR+v0tYaO9vWki4N+0qQ46puyR0pYDOIOJj8Vw5kpGE/vOfpAGWnAs7UPEw F9C1ev0MG3f10Ei7n47/Y1OPjKqC72rC8SPWZOaNzwN1ZiRvghsbUdJ+waK3yhE1hoIYkT EnZWwYJRTpMn6RpCWExDHC8osyKReKz2po6DjlXuwWheUQcsOXob/A7KM6HWVD61XBjIdU xjnLgz9ErwgVNa02OQBcBhE+sQ2q1ZLUQO0o6Ycwu+kxgiMytWljlNJHhJJzJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1793368354; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=1pVuWS/gqV4PshUtvEX2RacsaGdRM31g2ZRm3MknzkQ=; b=lRrsr3c0kBwUPsyKn09I1aRUrxVnh2shYgP8Zq9E68WpmyjQ+S8815Z4Z9vGF/7XpWKH3L kgPqCvCYw+b8lu9na429ZhnkTlMm1TVfctE+6tZ0n+HMqlXKC08CL1U/gnip+vfMHEoMaS 8202T6vIL8dPvG1unGESW5hKOguhl5piwkPJ36PhYh0v47na/J0PC1dm+t1LeHOQ79eYUD IPmUiw41BroAXHi+pc11L71O44Of3t/xg2xj0p22jS3avcJtgsnhA2eClw9Ot/k0T5SebN G5RjPqigXEj75McVdzxpYIaikHLT+ll+wXdpiYXgaXhd5+60kWE/mPveryqmGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4jGMwy3vvQzT2S for ; Fri, 30 Oct 2026 13:52:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 20cab by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 30 Oct 2026 13:52:34 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 7f309ac03989 - main - libc: provide the declaration for __libsys_errno in libc_private.h List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org List-Id: Commit messages for all branches of the src repository List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7f309ac03989032903cce945a743a6046e496b10 Auto-Submitted: auto-generated Date: Fri, 30 Oct 2026 13:52:34 +0000 Message-Id: <6ae4a122.20cab.8c5530b@gitrepo.freebsd.org> The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=7f309ac03989032903cce945a743a6046e496b10 commit 7f309ac03989032903cce945a743a6046e496b10 Author: Konstantin Belousov AuthorDate: 2026-10-19 22:18:24 +0000 Commit: Konstantin Belousov CommitDate: 2026-10-30 13:51:02 +0000 libc: provide the declaration for __libsys_errno in libc_private.h Reviewed by: aokblast, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D60838 --- lib/libc/include/libc_private.h | 2 ++ lib/libthr/sys/thr_error.c | 2 -- lib/libthr/thread/thr_rtld.c | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/libc/include/libc_private.h b/lib/libc/include/libc_private.h index 205f0453ffc7..28534e99442c 100644 --- a/lib/libc/include/libc_private.h +++ b/lib/libc/include/libc_private.h @@ -390,4 +390,6 @@ int __libc_uexterr_gettext(char *buf, size_t bufsz); void __libc_uexterr_set(int eerror, int category, const char *mmsg, uint64ptr_t pp1, uint64ptr_t pp2, int line); +extern int __libsys_errno; + #endif /* _LIBC_PRIVATE_H_ */ diff --git a/lib/libthr/sys/thr_error.c b/lib/libthr/sys/thr_error.c index ec7a57bf6610..1916e78109af 100644 --- a/lib/libthr/sys/thr_error.c +++ b/lib/libthr/sys/thr_error.c @@ -39,8 +39,6 @@ #include "libc_private.h" #include "thr_private.h" -extern int __libsys_errno; - __weak_reference(__error_threaded, __error); int * __error_threaded(void) diff --git a/lib/libthr/thread/thr_rtld.c b/lib/libthr/thread/thr_rtld.c index 3cfdfc548cf2..918f739c3bd1 100644 --- a/lib/libthr/thread/thr_rtld.c +++ b/lib/libthr/thread/thr_rtld.c @@ -39,8 +39,6 @@ #include "rtld_lock.h" #include "thr_private.h" -extern int __libsys_errno; - static int _thr_rtld_clr_flag(int); static void *_thr_rtld_lock_create(void); static void _thr_rtld_lock_destroy(void *);