git: <ctype.h>: Internalize __ct_rune_t type.

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Sat Nov 2 15:47:58 PDT 2019


commit 6ff28e32935e71d8b9ae54611a4920fa4cc3ab7f
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Sat Nov 2 16:47:58 2019 +0200

    <ctype.h>: Internalize __ct_rune_t type.
    
     Kernel does not use rune_t types, this change essentially removes rune_t
     types from kernel namespace (rune_t types were intended to be used only
     internally in libc/locale/ scope).
    
     ANSI requires that ctype types should be of type 'int' so it is
     debatable if such custom type is needed at all.  Provide declaration in
     <runetype.h> as well to allow header be self sufficient.

Summary of changes:
 include/ctype.h    | 18 +++++++++++++++++-
 include/runetype.h |  6 ++++++
 sys/sys/types.h    | 17 -----------------
 3 files changed, 23 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/6ff28e32935e71d8b9ae54611a4920fa4cc3ab7f


-- 
DragonFly BSD source repository



More information about the Commits mailing list