From nobody Wed Apr 19 20:13:18 2023 X-Original-To: dev-commits-src-main@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 4Q1sRf2PWxz46PRY; Wed, 19 Apr 2023 20:13:18 +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 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q1sRf1k0hz3nqq; Wed, 19 Apr 2023 20:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681935198; 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=QKPYOQrG810WK3BRlhCAC3bMb6Qs8IACajMza7uZRRg=; b=cRftdSUEFiJ6n9Ar97soEvL6wEit1tftf85R1jqqlYmQDhy4L33NwdSiDUL199Fv9CWg3W xR8keUcTyjWtHcjUbVPyZU04ooK1FJR2LoJmR0KCMJE7zoVBLmrAm0t8KOVO1w3qRVdigG lW++w3+UoklNrZjAtX0vGwzMTJRoqBzsgaXVdUe/U/Qr38Yn0pmLqq1J0LZG12QIy3NyXZ GNUOI/lAVz/lQb2ncbkW5vxagXHF3FKYi1BMm4206uG8WoMXWTtdZwZMfk+fKev9gIvqjg MdheGfW1i+Ht9Am/2n2zUL0utUuNK+Ik6aJ3ZnyTECBHCz+YAYv/QB7MW1AMtQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681935198; 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=QKPYOQrG810WK3BRlhCAC3bMb6Qs8IACajMza7uZRRg=; b=MtpH2nVcmetGpcTCJz9ogZwLpG/nfKMFIBDfI7m+FmjmHpwFKZrSd3vtFSCLI9kh/bd/ZL 5T64ve1obdy3QKQ5cUTuEOakYNeW6SjXAAL5jMx4vMZkqa7YaVpygusygJXi3Xeq15wg4b dbBFqUo6y6ZywfUfflPBwyTds2f4VwvCaPnlr2PEyWjWwFbRyCTHuBenFu5qL86XvNynQH 05G9IrjAJQIKwcgQlXXbu8pa34d4uzx8eh4MD1Mx6ZX9LcRwYj2WmBz2qXOItqPAMbIde4 EnG3Dcxyi8pX86sEvCxdxnDNXfIKEVX5pnAxBNtELT3CTxdruoIfh7oJxBdyaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681935198; a=rsa-sha256; cv=none; b=nGxbQYDtmClDTeFYezAJMkNI2LmALqEV6BpQiJMg98saN+FOR2L8SDO8fC1SFE1nvKjy8E XkyY/+Zn64X3EMAnYstAhPPp/X9PIpKrxuxvtR4EQRa/u7WBz/hcaeoD+MKhYkditbQP1h /NK0sXeLP5WDuOEN9ytL6L4jSpNsu4eoMmllED9nDzHPmKy2bpvRifFeVQvWCqH76o7xQx tafU7rS7DIzBQVNuFTDLlbeJnOpVlJ5EV+q2GzVynA8CMBTn3Anrg1U4cfxBK4ToIfYL/R JbrQPIe1QXRavsO1/66GIB0Yy+1MPCgjS6ygOWuz/or18WV2j9v4GWZFrLA5tw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q1sRf0l5Hz17pd; Wed, 19 Apr 2023 20:13:18 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33JKDILN070522; Wed, 19 Apr 2023 20:13:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33JKDIrM070521; Wed, 19 Apr 2023 20:13:18 GMT (envelope-from git) Date: Wed, 19 Apr 2023 20:13:18 GMT Message-Id: <202304192013.33JKDIrM070521@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Hans Petter Selasky Subject: git: a7469c9c0a50 - main - libc: bsort_s() requires both __BSD_VISIBLE and __EXT1_VISIBLE List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a7469c9c0a504a5e6e9b89e148cd78df5e67ff7f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/src/commit/?id=a7469c9c0a504a5e6e9b89e148cd78df5e67ff7f commit a7469c9c0a504a5e6e9b89e148cd78df5e67ff7f Author: Hans Petter Selasky AuthorDate: 2023-04-19 19:37:29 +0000 Commit: Hans Petter Selasky CommitDate: 2023-04-19 20:12:04 +0000 libc: bsort_s() requires both __BSD_VISIBLE and __EXT1_VISIBLE Fixes build of Python: /usr/include/stdlib.h:409:1: error: unknown type name 'errno_t' errno_t bsort_s(void *, rsize_t, rsize_t, Reported by: vishwin@ MFC after: 1 week Sponsored by: NVIDIA Networking Differential Revision: https://reviews.freebsd.org/D36493 --- include/stdlib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stdlib.h b/include/stdlib.h index 857092b9053e..3ad28cf68847 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -403,12 +403,12 @@ void ignore_handler_s(const char * __restrict, void * __restrict, errno_t); /* K.3.6.3.2 */ errno_t qsort_s(void *, rsize_t, rsize_t, int (*)(const void *, const void *, void *), void *); -#endif /* __EXT1_VISIBLE */ #if __BSD_VISIBLE errno_t bsort_s(void *, rsize_t, rsize_t, int (*)(const void *, const void *, void *), void *); #endif /* __BSD_VISIBLE */ +#endif /* __EXT1_VISIBLE */ __END_DECLS __NULLABILITY_PRAGMA_POP