From: Bruno Haible Date: Tue, 5 Nov 2024 15:23:41 +0000 (+0100) Subject: stdlib: Add a copyright header. X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=a9049bff2b86947792298866b5811012fdaf9db7;p=gnulib.git stdlib: Add a copyright header. * lib/stdlib.c: Add a copyright header. --- diff --git a/ChangeLog b/ChangeLog index aca62308e0..04edcf39e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2024-11-05 Bruno Haible + stdlib: Add a copyright header. + * lib/stdlib.c: Add a copyright header. + calloc, malloc: Fix a comment. * m4/malloc.m4 (gl_FUNC_MALLOC_GNU): Mention that it sets HAVE_MALLOC_PTRDIFF. 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 . + + 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 . */ + #include + #define _GL_STDLIB_INLINE _GL_EXTERN_INLINE #include