git: xlocale: Fix type of freelocale().

Rimvydas Jasinskas zrj at crater.dragonflybsd.org
Mon Oct 24 05:15:20 PDT 2016


commit 1c87de762681b4307ca18e82243f6ca308dcab6d
Author: zrj <rimvydas.jasinskas at gmail.com>
Date:   Fri Oct 7 10:20:28 2016 +0300

    xlocale: Fix type of freelocale().
    
    Per POSIX specs return type should be void. Previous type is apple'ism.
    
    While there, adjust manpages to use the correct <loacle.h> header.
    
    Taken-from: FreeBSD

Summary of changes:
 include/xlocale/_locale.h     |  4 ++--
 lib/libc/locale/duplocale.3   |  4 ++--
 lib/libc/locale/freelocale.3  | 21 ++++++---------------
 lib/libc/locale/newlocale.3   |  4 ++--
 lib/libc/locale/querylocale.3 |  4 ++--
 lib/libc/locale/uselocale.3   |  4 ++--
 lib/libc/locale/xlocale.c     | 24 +++++++++++-------------
 7 files changed, 27 insertions(+), 38 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1c87de762681b4307ca18e82243f6ca308dcab6d


-- 
DragonFly BSD source repository



More information about the Commits mailing list