freebsd-skq/lib/libc/locale
Ed Schouten 718fe473dd Change the return type of freelocale(3) to void.
Our version of this function currently returns an integer indicating
failure or success, whereas POSIX specifies that this function has no
return value. It returns void. Patch up the header, sources and man page
to use the right type. While there, use the opportunity to simplify the
body of this function.

Theoretically speaking, this change breaks the ABI of this function.
That said, I have yet to find any code that makes use of freelocale()'s
return value. I couldn't find any of it in the base system, nor did an
exp-run reveal any breakage caused by this change.

PR:		211394 (exp-run)
2016-07-29 17:18:47 +00:00
..
ascii.c For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to 2016-05-31 18:44:33 +00:00
big5.5
big5.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
btowc.3 btowc(3), isblank(3): Correct prototypes for _l variants. 2013-03-27 21:31:40 +00:00
btowc.c
c16rtomb_iconv.c Add libiconv based versions of *c16*() and *c32*(). 2013-06-03 17:17:56 +00:00
c16rtomb.c Add <uchar.h>. 2013-05-21 19:59:37 +00:00
c32rtomb_iconv.c Add libiconv based versions of *c16*() and *c32*(). 2013-06-03 17:17:56 +00:00
c32rtomb.c Add <uchar.h>. 2013-05-21 19:59:37 +00:00
collate.c Revert 302324 and properly fix the crash with ISO-8859-5 locales 2016-07-15 23:03:20 +00:00
collate.h 1) Eliminate possibility to call __*collate_range_cmp() with inclomplete 2016-07-14 09:07:25 +00:00
collcmp.c 1) Eliminate possibility to call __*collate_range_cmp() with inclomplete 2016-07-14 09:07:25 +00:00
ctype_l.3 ctype_l(3): Note that not all these functions are specified by POSIX.1-2008. 2012-07-01 22:18:20 +00:00
ctype.3 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
ctype.c
cXXrtomb_iconv.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
DESIGN.xlocale
digittoint.3 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
duplocale.3 Small changes to locale-related man pages. 2015-04-24 10:17:55 +00:00
euc.5
euc.c EUC-type encodings don't have single byte characters >= 128 2016-04-04 02:43:35 +00:00
fix_grouping.c
freelocale.3 Change the return type of freelocale(3) to void. 2016-07-29 17:18:47 +00:00
gb2312.5
gb2312.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
gb18030.5
gb18030.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
gbk.5
gbk.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
isalnum.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
isalpha.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
isascii.3
isblank.3 btowc(3), isblank(3): Correct prototypes for _l variants. 2013-03-27 21:31:40 +00:00
iscntrl.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
isctype.c Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
isdigit.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
isgraph.3 Add more locale-specific functions to the relevant man pages and Makefile: 2012-07-30 20:56:19 +00:00
isideogram.3
islower.3 Remove trailing whitespace. 2012-07-30 21:02:44 +00:00
isphonogram.3
isprint.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
ispunct.3 Add more locale-specific functions to the relevant man pages and Makefile: 2012-07-30 20:56:19 +00:00
isrune.3
isspace.3 Add more locale-specific functions to the relevant man pages and Makefile: 2012-07-30 20:56:19 +00:00
isspecial.3
isupper.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
iswalnum_l.3 Start manpage with Dd macro and also remove a trailing whitespace 2012-07-26 14:46:19 +00:00
iswalnum.3
iswctype.c Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
isxdigit.3 mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
ldpart.c libc: Use O_CLOEXEC for various internal file descriptors. 2012-09-29 11:54:34 +00:00
ldpart.h
lmessages.c
lmessages.h
lmonetary.c libc/locale: Remove a wrong comma. 2014-09-04 17:36:21 +00:00
lmonetary.h
lnumeric.c
lnumeric.h
localeconv.3 Split sentences at period boundaries. 2011-12-02 11:55:09 +00:00
localeconv.c
Makefile.inc Link localeconv(3) to localeconv_l(3) 2015-11-25 09:12:30 +00:00
mblen.3
mblen.c
mblocal.h libc: tag the Rune initialization function prototypes visibility as hidden. 2016-07-19 20:22:13 +00:00
mbrlen.3
mbrlen.c
mbrtoc16_iconv.c Add libiconv based versions of *c16*() and *c32*(). 2013-06-03 17:17:56 +00:00
mbrtoc16.c Add <uchar.h>. 2013-05-21 19:59:37 +00:00
mbrtoc32_iconv.c Add libiconv based versions of *c16*() and *c32*(). 2013-06-03 17:17:56 +00:00
mbrtoc32.c Add <uchar.h>. 2013-05-21 19:59:37 +00:00
mbrtocXX_iconv.h Remove the const qualifier from iconv(3) to comply with POSIX: 2015-04-15 09:09:20 +00:00
mbrtowc.3 Add <uchar.h>. 2013-05-21 19:59:37 +00:00
mbrtowc.c
mbsinit.3
mbsinit.c
mbsnrtowcs.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
mbsrtowcs.3
mbsrtowcs.c
mbstowcs.3
mbstowcs.c
mbtowc.3
mbtowc.c mbtowc(3): set errno to EILSEQ if an incomplete character is passed. 2016-03-01 19:15:34 +00:00
mskanji.5
mskanji.c SJIS encoding don't have single byte characters >= 224 2016-04-04 15:56:14 +00:00
multibyte.3
newlocale.3 Small changes to locale-related man pages. 2015-04-24 10:17:55 +00:00
nextwctype.3
nextwctype.c
nl_langinfo.3 Add more locale-specific functions to the relevant man pages and Makefile: 2012-07-30 20:56:19 +00:00
nl_langinfo.c libc: spelling fixes. 2016-04-30 01:24:24 +00:00
nomacros.c Fix build of libc.so after r232620. This caused a duplicate definition 2012-03-06 21:56:30 +00:00
none.c For EILSEQ case in mbsnrtowcs() and wcsnrtombs() update src to point to 2016-05-31 18:44:33 +00:00
querylocale.3 Small changes to locale-related man pages. 2015-04-24 10:17:55 +00:00
rpmatch.3
rpmatch.c
rune.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
runefile.h
runetype.c
setlocale.3
setlocale.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 20:50:18 +00:00
setlocale.h
setrunelocale.c locales: Enforce US-ASCII encoding (limited to 7-bit) 2015-11-09 22:06:22 +00:00
Symbol.map Mark __collate_load_tables_l as static 2015-08-09 10:24:24 +00:00
table.c Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
toascii.3
tolower.3
tolower.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 20:50:18 +00:00
toupper.3
toupper.c Use ANSI C prototypes. Eliminates -Wold-style-definition warnings. 2015-09-20 20:50:18 +00:00
towlower.3
towupper.3
uselocale.3 Small changes to locale-related man pages. 2015-04-24 10:17:55 +00:00
utf8.5
utf8.c Merge from HEAD 2015-08-25 20:14:50 +00:00
wcrtomb.3 Add <uchar.h>. 2013-05-21 19:59:37 +00:00
wcrtomb.c
wcsftime.3
wcsftime.c
wcsnrtombs.c Revamp CTYPE support (from Illumos & Dragonfly) 2015-08-08 18:22:14 +00:00
wcsrtombs.3
wcsrtombs.c
wcstod.3
wcstod.c
wcstof.c
wcstoimax.c
wcstol.3
wcstol.c
wcstold.c
wcstoll.c
wcstombs.3
wcstombs.c
wcstoul.c
wcstoull.c
wcstoumax.c
wctob.c
wctomb.3
wctomb.c
wctrans.3
wctrans.c
wctype.3
wctype.c Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
wcwidth.3
wcwidth.c
xlocale_private.h libc: replace 0 with NULL for pointers. 2016-04-10 19:33:58 +00:00
xlocale.3 mdoc: improvements to SEE ALSO. 2014-12-27 08:31:52 +00:00
xlocale.c Change the return type of freelocale(3) to void. 2016-07-29 17:18:47 +00:00