From nobody Sun Jun 02 18:43:10 2024 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 4Vsm2R1pDQz5Jl6Y; Sun, 02 Jun 2024 18:43:11 +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 4Vsm2R11Q3z4Vjm; Sun, 2 Jun 2024 18:43:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717353791; 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=CVwpSbzEm4D6XaGAS+JqQPFv53TXuun9mRsqaz0NlvA=; b=u2qVjoimyKHCFwy1N+LgbIyY52RGAtDq2rFsRnJAlavFIJILsR2Nt9yJ8SMf4RWEyyU27H 2Y55wyWGM1Oesm5doLuPJGUVcFEJf3EbnzLNlX8NJuBjzU4Eio4SVrwy9RfAFTkoTBI13Z kZrvhdFcmguVKrduw3f9JGQsVanjLoTQM19nU0P6MpL0SkrVvIZAMzGJzA2CiQeP1mSJ/7 30s6AIInS5AQya7jyK0f5PTJ5GEUFLs3m/dstBWF0sQzoimuxtKXLckVE08IiuCyplsz98 E1gbfnYZjHWlxMXcm5gm7Hy+wt28vb5BjGF6OwrKlFccapSBbPA5QJ3vdt8t0w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717353791; a=rsa-sha256; cv=none; b=n/QTEBL4H90+VtXKkIeXr+hKGxFKrS+M6DQXDxh9/L91AQ44Wf4REfMT1x6xwqIsvjVyOM CaRFn/WkLfPlfyGjdbxzWdjmwrr3DEOUQHJfoWSlUJV2qExeX7F8WCnYJSKTzDIHp0hcVZ 3dspul8j+bTLspieBer5fImUpgL5yWRorCxDvOyflvi/MkIpDATFrlnVb+srUwaHeD0VHy Fzc1taRlleAUsv/fnQ0hAkqDbdcOs2eA+1O6v46fhMZa9Q7R8K/uXohyC3BkrwLi8E7b65 696O9ifUVHB01r6aoNdW2qI6iyE4MocFjcTPDvpXLKejO8qkv+FXOyvIw6E/bw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717353791; 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=CVwpSbzEm4D6XaGAS+JqQPFv53TXuun9mRsqaz0NlvA=; b=LrolEPQlA0tx48GYKyISxdeHXkmOKzSVuo/pGF01Be3J78hTTdPl3bTX8Ce6pJGAdYAIDn Sv+CM9OGv25KpacovlPPpAp37y+IcOtiQTeuBi/WVnmTGlsSCFqmBPMG1Xj+3ja4R4l/U9 12JJ5VgT2HMb/jhaPanrl2fZ3gakrln3f/+YNiiPoI7tH4QoHO9IFMOtY5RC7aBzgO0vYr 42UNP6B0TKiZ3m+rwyppX2GRWGoSOIllAZyDdJCpOjL4bKOVx8WT9wuxQ4huaoaz8XiIAy 0LQN4tKs99EDFYreAlONJ9kfc7+2nS7XTTfE/RilwUdGtS3WDhlR4XXlEKq2eA== 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 4Vsm2R0cDLz137M; Sun, 2 Jun 2024 18:43:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 452IhArQ047150; Sun, 2 Jun 2024 18:43:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 452IhApL047147; Sun, 2 Jun 2024 18:43:10 GMT (envelope-from git) Date: Sun, 2 Jun 2024 18:43:10 GMT Message-Id: <202406021843.452IhApL047147@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Brooks Davis Subject: git: 39c4f65c72c7 - main - stddef.h/stdlib.h: Remove unused rune_t List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 39c4f65c72c7bd00546b4571b3bbe0432162efa3 Auto-Submitted: auto-generated The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=39c4f65c72c7bd00546b4571b3bbe0432162efa3 commit 39c4f65c72c7bd00546b4571b3bbe0432162efa3 Author: Brooks Davis AuthorDate: 2024-06-02 18:39:30 +0000 Commit: Brooks Davis CommitDate: 2024-06-02 18:41:22 +0000 stddef.h/stdlib.h: Remove unused rune_t This non-standard type is unused in the base system (__ct_rune_t or __rune_t are used instead) and ports. It has been around as long as our current source repo, but we have avoided using it. In sys/_types.h where the __*rune_t typedefs are defined, the following appears in a comment: NOTE: rune_t is not covered by ANSI nor other standards, and should not be instantiated outside of lib/libc/locale. Use wchar_t. The definition of this unused type meant we gratutiously differed from standards compliant stddef.h/stdlib.h. PR: 279357 (exp-run by antoine) Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D45426 --- include/stddef.h | 7 ------- include/stdlib.h | 7 ------- 2 files changed, 14 deletions(-) diff --git a/include/stddef.h b/include/stddef.h index b695ae7a07a7..2255ea47a49a 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -41,13 +41,6 @@ typedef __ptrdiff_t ptrdiff_t; #define _PTRDIFF_T_DECLARED #endif -#if __BSD_VISIBLE -#ifndef _RUNE_T_DECLARED -typedef __rune_t rune_t; -#define _RUNE_T_DECLARED -#endif -#endif - #ifndef _SIZE_T_DECLARED typedef __size_t size_t; #define _SIZE_T_DECLARED diff --git a/include/stdlib.h b/include/stdlib.h index 7a934dfa306d..c1c8ab5eebb3 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -38,13 +38,6 @@ __NULLABILITY_PRAGMA_PUSH -#if __BSD_VISIBLE -#ifndef _RUNE_T_DECLARED -typedef __rune_t rune_t; -#define _RUNE_T_DECLARED -#endif -#endif - #ifndef _SIZE_T_DECLARED typedef __size_t size_t; #define _SIZE_T_DECLARED