* lib/locale.in.h (freelocale): Fix mistake in last patch.
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.
_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. */