Paul Eggert wrote:
> diff --git a/lib/stdlib.c b/lib/stdlib.c
> new file mode 100644
> index 0000000000..be331ffbda
> --- /dev/null
> +++ b/lib/stdlib.c
> @@ -0,0 +1,3 @@
> +#include <config.h>
> +#define _GL_STDLIB_INLINE _GL_EXTERN_INLINE
> +#include <stdlib.h>
A file without copyright notice? That runs afoul of the various tools
(in Debian, in GNU gettext, etc.) that check for the existence of a
copyright notice. Cf.
<https://lists.gnu.org/archive/html/bug-gnulib/2020-07/msg00027.html>.


2024-11-05  Bruno Haible  <br...@clisp.org>

        stdlib: Add a copyright header.
        * lib/stdlib.c: Add a copyright header.

diff --git a/lib/stdlib.c b/lib/stdlib.c
index be331ffbda..521d64627d 100644
--- a/lib/stdlib.c
+++ b/lib/stdlib.c
@@ -1,3 +1,21 @@
+/* Inline functions for <stdlib.h>.
+
+   Copyright (C) 2024 Free Software Foundation, Inc.
+
+   This file is free software: you can redistribute it and/or modify
+   it under the terms of the GNU Lesser General Public License as
+   published by the Free Software Foundation; either version 2.1 of the
+   License, or (at your option) any later version.
+
+   This file is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public License
+   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+
 #include <config.h>
+
 #define _GL_STDLIB_INLINE _GL_EXTERN_INLINE
 #include <stdlib.h>




Reply via email to