From 18bc92cb83fdf0f0472432fb7c30914a9cd4df01 Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 15 Mar 2015 21:08:54 -0400 Subject: libiberty: remove source files that either duplicate functionality already present in all modern libc implementations, or are incompatible with modern development environments, or both. --- libiberty/memmove.c | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100644 libiberty/memmove.c (limited to 'libiberty/memmove.c') diff --git a/libiberty/memmove.c b/libiberty/memmove.c deleted file mode 100644 index ebda7cbb4..000000000 --- a/libiberty/memmove.c +++ /dev/null @@ -1,26 +0,0 @@ -/* Wrapper to implement ANSI C's memmove using BSD's bcopy. */ -/* This function is in the public domain. --Per Bothner. */ - -/* - -@deftypefn Supplemental void* memmove (void *@var{from}, const void *@var{to}, @ - size_t @var{count}) - -Copies @var{count} bytes from memory area @var{from} to memory area -@var{to}, returning a pointer to @var{to}. - -@end deftypefn - -*/ - -#include -#include - -void bcopy (const void*, void*, size_t); - -PTR -memmove (PTR s1, const PTR s2, size_t n) -{ - bcopy (s2, s1, n); - return s1; -} -- cgit v1.2.3