summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/lib/memcpy.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/lib/memcpy.c')
-rw-r--r--contrib/texinfo/lib/memcpy.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/contrib/texinfo/lib/memcpy.c b/contrib/texinfo/lib/memcpy.c
deleted file mode 100644
index 5216254..0000000
--- a/contrib/texinfo/lib/memcpy.c
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copy LEN bytes starting at SRCADDR to DESTADDR. Result undefined
- if the source overlaps with the destination.
- Return DESTADDR. */
-
-#ifdef HAVE_CONFIG_H
-#include <config.h>
-#endif
-
-char *
-memcpy (destaddr, srcaddr, len)
- char *destaddr;
- const char *srcaddr;
- int len;
-{
- char *dest = destaddr;
-
- while (len-- > 0)
- *destaddr++ = *srcaddr++;
- return dest;
-}
OpenPOWER on IntegriCloud