From: Bruno Haible Date: Wed, 17 Sep 2025 16:28:35 +0000 (+0200) Subject: Add copyright notices. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bc29cb1ec689b24f0911ff7155d4c7dda946e48;p=thirdparty%2Fgnulib.git Add copyright notices. * lib/string.c: Add copyright notice. Use , not "string.h". --- diff --git a/ChangeLog b/ChangeLog index b3539fa10f..c241bf45e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2025-09-17 Bruno Haible + + Add copyright notices. + * lib/string.c: Add copyright notice. Use , not "string.h". + 2025-09-17 Paul Eggert stringeq: diagnose for streq instead of STREQ diff --git a/lib/string.c b/lib/string.c index 9427275a3c..cce2eac9c0 100644 --- a/lib/string.c +++ b/lib/string.c @@ -1,3 +1,20 @@ +/* streq and memeq functions. + Copyright (C) 2025 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_STRING_INLINE _GL_EXTERN_INLINE -#include "string.h" +#include