diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-10 19:54:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2008-09-10 19:54:49 +0000 |
commit | 4e3037b25842fe027f9a550ed38242803e094963 (patch) | |
tree | e2e47f9b7b974ddfc455cf34c044b5eaef8ace7a /c/src/lib/libcpu/nios2/shared/misc/memcpy.c | |
parent | 2008-09-10 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-4e3037b25842fe027f9a550ed38242803e094963.tar.bz2 |
Remove from rtems-4-9-branch.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libcpu/nios2/shared/misc/memcpy.c | 21 |
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; -} |