From: Bruno Haible Date: Sun, 13 Jun 2021 10:02:08 +0000 (+0200) Subject: ialloc: Put appropriate license notice in source files. X-Git-Tag: v1.0~2815 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=9ad0d4f1c595e5d430a3ffcf332e280b3f4cf965;p=gnulib.git ialloc: Put appropriate license notice in source files. * lib/ialloc.h: Use LGPLv3+ notice. * lib/ialloc.c: Likewise. --- diff --git a/ChangeLog b/ChangeLog index c9fd316ab4..b48760c6e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2021-06-13 Bruno Haible + + ialloc: Put appropriate license notice in source files. + * lib/ialloc.h: Use LGPLv3+ notice. + * lib/ialloc.c: Likewise. + 2021-06-11 Paul Eggert xalloc: new idx_t-based allocators diff --git a/lib/ialloc.c b/lib/ialloc.c index 9eff290357..f506b8402e 100644 --- a/lib/ialloc.c +++ b/lib/ialloc.c @@ -1,3 +1,21 @@ +/* malloc with idx_t rather than size_t + + Copyright 2021 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 3 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 IALLOC_INLINE _GL_EXTERN_INLINE #include "ialloc.h" diff --git a/lib/ialloc.h b/lib/ialloc.h index e243c928c0..ebe4aaa3cf 100644 --- a/lib/ialloc.h +++ b/lib/ialloc.h @@ -2,17 +2,17 @@ Copyright 2021 Free Software Foundation, Inc. - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. + 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 3 of the + License, or (at your option) any later version. - This program is distributed in the hope that it will be useful, + 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 General Public License for more details. + GNU Lesser General Public License for more details. - You should have received a copy of the GNU General Public License + You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef IALLOC_H_