aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1992-12-06 22:16:01 +0000
committerJim Blandy1992-12-06 22:16:01 +0000
commitf76e7178ee500726e88718cd73d596798d6b0c47 (patch)
tree9d63384844ff8af6c27f0a03c6d1e84a33db7b2b /src
parent8f607ef0e32096db1b90052058e0c27ea124224f (diff)
downloademacs-f76e7178ee500726e88718cd73d596798d6b0c47.tar.gz
emacs-f76e7178ee500726e88718cd73d596798d6b0c47.zip
* dispnew.c: Remove dyked-out copy of safe_bcopy.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c30
1 files changed, 0 insertions, 30 deletions
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)
517 } 517 }
518} 518}
519 519
520#if 0
521void
522safe_bcopy (from, to, size)
523 char *from, *to;
524 int size;
525{
526 register char *endf;
527 register char *endt;
528
529 if (size == 0)
530 return;
531
532 /* If destination is higher in memory, and overlaps source zone,
533 copy from the end. */
534 if (from < to && from + size > to)
535 {
536 endf = from + size;
537 endt = to + size;
538
539 do
540 *--endt = *--endf;
541 while (endf != from);
542
543 return;
544 }
545
546 bcopy (from, to, size);
547}
548#endif
549
550/* Rotate a vector of SIZE bytes right, by DISTANCE bytes. 520/* Rotate a vector of SIZE bytes right, by DISTANCE bytes.
551 DISTANCE may be negative. */ 521 DISTANCE may be negative. */
552 522