From: Bruno Haible Date: Fri, 14 Feb 2025 04:55:48 +0000 (+0100) Subject: freelocale: Fix typo. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=04364b924d42f21ad2a6d5a28e01ef5dc24141c0;p=gnulib.git freelocale: Fix typo. * lib/locale.in.h (freelocale): Fix mistake in last patch. --- diff --git a/ChangeLog b/ChangeLog index 79089e4470..712f90be04 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2025-02-14 Bruno Haible + freelocale: Fix typo. + * lib/locale.in.h (freelocale): Fix mistake in last patch. + freelocale: Add tests. * tests/test-freelocale.c: New file. * modules/freelocale-tests: New file. diff --git a/lib/locale.in.h b/lib/locale.in.h index 31d3e9b60b..3d4f34f579 100644 --- a/lib/locale.in.h +++ b/lib/locale.in.h @@ -372,7 +372,7 @@ _GL_FUNCDECL_RPL (freelocale, void, (locale_t locale), _GL_ARG_NONNULL ((1))); _GL_CXXALIAS_RPL (freelocale, void, (locale_t locale)); # else # if !@HAVE_FREELOCALE@ -_GL_FUNCDECL_SYS (duplocale, locale_t, (locale_t locale), _GL_ARG_NONNULL ((1))); +_GL_FUNCDECL_SYS (freelocale, void, (locale_t locale), _GL_ARG_NONNULL ((1))); # endif /* Need to cast, because on FreeBSD and Mac OS X 10.13, the return type is int. */