summaryrefslogtreecommitdiff
path: root/lib/memmove.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2021-06-04 20:55:35 +0200
committerBruno Haible <bruno@clisp.org>2021-06-04 20:55:35 +0200
commitfa5c2532b786e4108163fd6949e48a409eef5daa (patch)
treea3d8d206eb4d9591ac73dd72ed0edb57bf23f204 /lib/memmove.c
parent9f1d86cdf3c7dc96bdc6cf5a1e463c68ee0da6f3 (diff)
downloadgnulib-fa5c2532b786e4108163fd6949e48a409eef5daa.tar.gz
Put public domain notices in source files where appropriate.
* lib/{alloca.c,atexit.c,memmove.c}: Use public domain notice.
Diffstat (limited to 'lib/memmove.c')
-rw-r--r--lib/memmove.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/lib/memmove.c b/lib/memmove.c
index 0f040540c0..0d80de69c2 100644
--- a/lib/memmove.c
+++ b/lib/memmove.c
@@ -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)
{