]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
xstring-desc: Fix link error with non-optimizing compilers.
authorBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 12:33:43 +0000 (14:33 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 10 May 2026 12:33:43 +0000 (14:33 +0200)
* lib/xstring-desc.h (xsd_c): Define with GL_XSTRING_DESC_INLINE.

ChangeLog
lib/xstring-desc.h

index 4c6139e80fc3edc06e9f086ddeba492d0a8f3804..0482aa4e9576f045e3261969d5865ff2163d1dda 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2026-05-10  Bruno Haible  <bruno@clisp.org>
+
+       xstring-desc: Fix link error with non-optimizing compilers.
+       * lib/xstring-desc.h (xsd_c): Define with GL_XSTRING_DESC_INLINE.
+
 2026-05-10  Bruno Haible  <bruno@clisp.org>
 
        spawn-pipe tests: Fix link error with non-optimizing compilers.
index 9e46b7994ba47ab5fdf10899efc35f378d9efe85..1ef2bbf1d895da6aaa20da24c57c49e40df5d6d5 100644 (file)
@@ -117,7 +117,7 @@ _xsd_c (idx_t s_nbytes, const char *s_data)
      _xsd_c (_xs_._nbytes, _xs_._data); \
    })
 #else
-GL_STRING_DESC_INLINE
+GL_XSTRING_DESC_INLINE
 _GL_ATTRIBUTE_DEALLOC_FREE _GL_ATTRIBUTE_RETURNS_NONNULL
 char *
 xsd_c (string_desc_t s)