]> Savannah Git Hosting - gnulib.git/commitdiff
Put public domain notices in source files where appropriate.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Jun 2021 18:55:35 +0000 (20:55 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 4 Jun 2021 18:55:35 +0000 (20:55 +0200)
* lib/{alloca.c,atexit.c,memmove.c}: Use public domain notice.

ChangeLog
lib/alloca.c
lib/atexit.c
lib/dummy.c
lib/memmove.c

index 96261d5b627fb0286632f1d5f9023e3973ee6e7e..752b7485a83bb7d3af3440d5383d23471501b3cf 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2021-06-04  Bruno Haible  <bruno@clisp.org>
+
+       Put public domain notices in source files where appropriate.
+       * lib/{alloca.c,atexit.c,memmove.c}: Use public domain notice.
+
 2021-06-04  Bruno Haible  <bruno@clisp.org>
 
        Revamp check-copyright script.
index 91b9ec38916067e082f2a88867503a7b3960a518..48802832a85e36b3a0022c238b4cd6deeb0a2e1e 100644 (file)
@@ -1,5 +1,7 @@
 /* alloca.c -- allocate automatically reclaimed memory
-   (Mostly) portable public-domain implementation -- D A Gwyn
+   This file is in the public domain.  */
+
+/* (Mostly) portable implementation -- D A Gwyn
 
    This implementation of the PWB library alloca function,
    which is used to allocate space off the run-time stack so
index 5ef33e57ee21922fd0e6e01f1635544e4fcb0a89..e47b9fbeaf3b8fcf517eca99ea5174e9964243fe 100644 (file)
@@ -1,5 +1,7 @@
-/* Wrapper to implement ANSI C's atexit using SunOS's on_exit. */
-/* This function is in the public domain.  --Mike Stump. */
+/* Wrapper to implement ANSI C's atexit using SunOS's on_exit.  */
+/* This file is in the public domain.  */
+
+/* Written by Mike Stump.  */
 
 #include <config.h>
 
index fa899e515be06d94fb394c057e04a06d53aae40f..49b58b1a194c135e19e4d8b8c0eb4cb03b8e8ded 100644 (file)
@@ -1,18 +1,7 @@
 /* A dummy file, to prevent empty libraries from breaking builds.
    Copyright (C) 2004, 2007, 2009-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 program 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.
-
-   You should have received a copy of the GNU General Public License
-   along with this program.  If not, see <https://www.gnu.org/licenses/>.  */
+   This file is in the public domain.  */
 
 /* Some systems, reportedly OpenBSD and Mac OS X, refuse to create
    libraries without any object files.  You might get an error like:
index 0f040540c0dbfe050ce5305a8aba4d3a9bf1bb4f..0d80de69c214fed451ad9cffec38665dc707d00b 100644 (file)
@@ -1,12 +1,14 @@
 /* memmove.c -- copy memory.
-   Copy LENGTH bytes from SOURCE to DEST.  Does not null-terminate.
-   In the public domain.
-   By David MacKenzie <djm@gnu.ai.mit.edu>.  */
+   This file is in the public domain.  */
+
+/* Written by David MacKenzie <djm@gnu.ai.mit.edu>.  */
 
 #include <config.h>
 
 #include <stddef.h>
 
+/* Copy LENGTH bytes from SOURCE to DEST.  Does not null-terminate.  */
+
 void *
 memmove (void *dest0, void const *source0, size_t length)
 {