]> git.ipfire.org Git - thirdparty/gnulib.git/commit
setlocale: Use countof.
authorBruno Haible <bruno@clisp.org>
Mon, 11 May 2026 22:54:57 +0000 (00:54 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 11 May 2026 23:00:44 +0000 (01:00 +0200)
commit96ca1e164b02c5defbcdbb274febb4f55461e577
tree172a95adf9785868bb27bcd5fd34548cdead1e11
parent5da32b6e05e27c71fd042ef10a4970b10862bc88
setlocale: Use countof.

* lib/setlocale.c: Include <stdcountof.h>.
(setlocale_unixlike, get_main_locale_with_same_language,
get_main_locale_with_same_territory, setlocale_improved): Use countof.
* modules/setlocale (Depends-on): Add stdcountof-h.
ChangeLog
lib/setlocale.c
modules/setlocale