summaryrefslogtreecommitdiff
path: root/missing/memmove.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/memmove.c')
-rw-r--r--missing/memmove.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/missing/memmove.c b/missing/memmove.c
deleted file mode 100644
index 09e64702b6..0000000000
--- a/missing/memmove.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * memmove --- move memories.
- *
- * We supply this routine for those systems that aren't standard yet.
- */
-
-char *
-memmove (dst, src, n)
- char *dst, *src;
- int n;
-{
- char *ret = dst;
-
- if (src < dst) {
- src += n;
- dst += n;
- while (n--)
- *--dst = *--src;
- }
- else if (dst < src)
- while (n--)
- *dst++ = *src++;
- return ret;
-}