Re: [PATCH 09/14] stdlib: make MB_CUR_MAX usable from extern inline

2024-11-05 Thread Paul Eggert
On 2024-11-05 07:24, Bruno Haible wrote: A file without copyright notice? It was a trivial (three-line) file, so no copyright notice was needed.

Re: [PATCH 09/14] stdlib: make MB_CUR_MAX usable from extern inline

2024-11-05 Thread Bruno Haible via Gnulib discussion list
Paul Eggert wrote: > diff --git a/lib/stdlib.c b/lib/stdlib.c > new file mode 100644 > index 00..be331ffbda > --- /dev/null > +++ b/lib/stdlib.c > @@ -0,0 +1,3 @@ > +#include > +#define _GL_STDLIB_INLINE _GL_EXTERN_INLINE > +#include A file without copyright notice? That runs afoul of th

[PATCH 09/14] stdlib: make MB_CUR_MAX usable from extern inline

2024-11-04 Thread Paul Eggert
* lib/stdlib.c: New file. * modules/stdlib (Files, lib_SOURCES): Add it. (Depends-on): Add extern-inline. * lib/stdlib.in.h: Use _GL_INLINE_HEADER_BEGIN, _GL_INLINE_HEADER_END. (_GL_STDLIB_INLINE): New macro. (gl_MB_CUR_MAX): Make it _GL_STDLIB_INLINE not static inline, so that it can be called fro