From f76e7178ee500726e88718cd73d596798d6b0c47 Mon Sep 17 00:00:00 2001 From: Jim Blandy Date: Sun, 6 Dec 1992 22:16:01 +0000 Subject: * dispnew.c: Remove dyked-out copy of safe_bcopy. --- src/dispnew.c | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'src') diff --git a/src/dispnew.c b/src/dispnew.c index f26d12b53b2..f9ceda64768 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -517,36 +517,6 @@ safe_bcopy (from, to, size) } } -#if 0 -void -safe_bcopy (from, to, size) - char *from, *to; - int size; -{ - register char *endf; - register char *endt; - - if (size == 0) - return; - - /* If destination is higher in memory, and overlaps source zone, - copy from the end. */ - if (from < to && from + size > to) - { - endf = from + size; - endt = to + size; - - do - *--endt = *--endf; - while (endf != from); - - return; - } - - bcopy (from, to, size); -} -#endif - /* Rotate a vector of SIZE bytes right, by DISTANCE bytes. DISTANCE may be negative. */ -- cgit v1.2.3