]> git.ipfire.org Git - thirdparty/gnulib.git/commitdiff
Add copyright notices.
authorBruno Haible <bruno@clisp.org>
Wed, 17 Sep 2025 16:28:35 +0000 (18:28 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 17 Sep 2025 16:28:35 +0000 (18:28 +0200)
* lib/string.c: Add copyright notice. Use <string.h>, not "string.h".

ChangeLog
lib/string.c

index b3539fa10f90fed135f8019e2542820dc915cf6c..c241bf45e42bb078f5b000fabfd7e7b8502a08cb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2025-09-17  Bruno Haible  <bruno@clisp.org>
+
+       Add copyright notices.
+       * lib/string.c: Add copyright notice. Use <string.h>, not "string.h".
+
 2025-09-17  Paul Eggert  <eggert@cs.ucla.edu>
 
        stringeq: diagnose for streq instead of STREQ
index 9427275a3c0a08af762046ed7ecac30bde69589b..cce2eac9c065e7c373bb5a83b3e1f094b013554c 100644 (file)
@@ -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 <https://www.gnu.org/licenses/>.  */
+
 #include <config.h>
+
 #define _GL_STRING_INLINE _GL_EXTERN_INLINE
-#include "string.h"
+#include <string.h>