git: <langinfo.h>/<nl_types.h>: Clean up the POSIX namespace.

Sascha Wildner swildner at crater.dragonflybsd.org
Tue Nov 19 12:57:44 PST 2019


commit 600b876a659aabe5b9f46154c89763c2f215329a
Author: Sascha Wildner <saw at online.de>
Date:   Tue Nov 19 21:57:32 2019 +0100

    <langinfo.h>/<nl_types.h>: Clean up the POSIX namespace.
    
    * <langinfo.h>: <sys/types.h> isn't needed at all in this header. Also
        put the ALTMON_* definitions into __BSD_VISIBLE.
    
    * <nl_types.h>: <sys/types.h> isn't needed here either. For some
        internal structures, __int*_t from <machine/stdint.h> is
        sufficient.
    
    Thanks for testing with a dports bulk build to zrj.

Summary of changes:
 include/langinfo.h |  3 +--
 include/nl_types.h | 25 +++++++++++++------------
 2 files changed, 14 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/600b876a659aabe5b9f46154c89763c2f215329a


-- 
DragonFly BSD source repository



More information about the Commits mailing list