]> Savannah Git Hosting - gnulib.git/commitdiff
freelocale: Fix typo.
authorBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2025 04:55:48 +0000 (05:55 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 14 Feb 2025 04:55:48 +0000 (05:55 +0100)
* lib/locale.in.h (freelocale): Fix mistake in last patch.

ChangeLog
lib/locale.in.h

index 79089e44709b423e754da3b7a3296c422c6cff70..712f90be04b3e9bac237fbbc6013a913235d6fd6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2025-02-14  Bruno Haible  <bruno@clisp.org>
 
+       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.
index 31d3e9b60bf302ee9e7a4e365de1e5a3643e9775..3d4f34f579b0484e5a0bf7939744461441fa2203 100644 (file)
@@ -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.  */