xlocale: Fix type of freelocale().
commit1c87de762681b4307ca18e82243f6ca308dcab6d
authorzrj <rimvydas.jasinskas@gmail.com>
Fri, 7 Oct 2016 07:20:28 +0000 (7 10:20 +0300)
committerzrj <zrj@dragonflybsd.org>
Mon, 24 Oct 2016 11:55:28 +0000 (24 14:55 +0300)
tree55a2102b464d7e4723d4448323590d721baad69a
parentc00641ef1c6bcb915dc1cfe1441b2f81a42906d4
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
include/xlocale/_locale.h
lib/libc/locale/duplocale.3
lib/libc/locale/freelocale.3
lib/libc/locale/newlocale.3
lib/libc/locale/querylocale.3
lib/libc/locale/uselocale.3
lib/libc/locale/xlocale.c