* lib/{alloca.c,atexit.c,memmove.c}: Use public domain notice.
+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.
/* 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
-/* 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>
/* 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:
/* 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)
{