summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2007-12-10 04:03:24 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2007-12-10 04:03:24 +0000
commit87f08a6b37e7c689042eda258892cde8c5acb1f4 (patch)
tree912f3dd5fa8634f811c084ed9b5fb43b7687146f /c/src/lib/libcpu/nios2/shared/misc/memcpy.c
parent2007-12-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-87f08a6b37e7c689042eda258892cde8c5acb1f4.tar.bz2
Remove from rtems-4-8-branch.
Diffstat (limited to '')
-rw-r--r--c/src/lib/libcpu/nios2/shared/misc/memcpy.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/c/src/lib/libcpu/nios2/shared/misc/memcpy.c b/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
deleted file mode 100644
index ceae3c6548..0000000000
--- a/c/src/lib/libcpu/nios2/shared/misc/memcpy.c
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * C library memcpy routine
- *
- * This routine shall get code to optimize performance on NIOS II
- *
- * The routine is placed in this source directory to ensure that it
- * is picked up by all applications.
- */
-
-#include <string.h>
-
-void *
-memcpy(void *s1, const void *s2, size_t n)
-{
- char *p1 = s1;
- const char *p2 = s2;
- size_t left = n;
-
- while(left > 0) *(p1++) = *(p2++);
- return s1;
-}