freebsd-src/include/xlocale
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
..
_ctype.h Commit log from Dragonfly: 2015-10-13 20:43:49 +00:00
_inttypes.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
_langinfo.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
_locale.h Change the return type of freelocale(3) to void. 2016-07-29 17:18:47 +00:00
_monetary.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
_stdio.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
_stdlib.h Change type of MB_CUR_MAX and MB_CUR_MAX_L() to size_t. 2016-07-28 09:50:19 +00:00
_string.h Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. 2014-05-30 01:09:07 +00:00
_strings.h Fix strcasecmp_l() and strncasecmp_l() POSIX 2008 compliance. 2014-05-30 01:09:07 +00:00
_time.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
_uchar.h Add <uchar.h>. 2013-05-21 19:59:37 +00:00
_wchar.h Reapply 227753 (xlocale cleanup), plus some fixes so that it passes build 2012-03-04 15:31:13 +00:00
Makefile Remove NO_OBJ 2015-06-11 04:22:17 +00:00
Makefile.depend Add META_MODE support. 2015-06-13 19:20:56 +00:00