HomeFreeBSD

stddef.h/stdlib.h: Remove unused rune_t

Description

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

Details

Provenance
brooksAuthored on Jun 2 2024, 6:39 PM
Reviewer
imp
Differential Revision
D45426: stddef.h/stdlib.h: Remove unused rune_t
Parents
rGaf8cafb2a380: iovec: macros to manipulate len and base together
Branches
Unknown
Tags
Unknown