From a1870bc7909b311399735583c9363b06af9b0a56 Mon Sep 17 00:00:00 2001 From: tls Date: Mon, 13 Jan 1997 06:50:25 +0000 Subject: bfunctions -> memfunctions --- atc/log.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'atc/log.c') diff --git a/atc/log.c b/atc/log.c index 76e878d8..b887c936 100644 --- a/atc/log.c +++ b/atc/log.c @@ -1,4 +1,4 @@ -/* $NetBSD: log.c,v 1.3 1995/03/21 15:04:21 cgd Exp $ */ +/* $NetBSD: log.c,v 1.4 1997/01/13 06:50:26 tls Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -49,7 +49,7 @@ #if 0 static char sccsid[] = "@(#)log.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: log.c,v 1.3 1995/03/21 15:04:21 cgd Exp $"; +static char rcsid[] = "$NetBSD: log.c,v 1.4 1997/01/13 06:50:26 tls Exp $"; #endif #endif not lint @@ -192,19 +192,19 @@ log_score(list_em) if (thisscore.time > score[i].time) { if (num_scores < NUM_SCORES) num_scores++; - bcopy(&score[i], - &score[num_scores - 1], - sizeof (score[i])); - bcopy(&thisscore, &score[i], - sizeof (score[i])); + memcpy(&score[num_scores - 1], + &score[i], + sizeof (score[i])); + memcpy(&score[i], &thisscore, + sizeof (score[i])); changed++; break; } } } if (!found && !changed && num_scores < NUM_SCORES) { - bcopy(&thisscore, &score[num_scores], - sizeof (score[num_scores])); + memcpy(&score[num_scores], &thisscore, + sizeof (score[num_scores])); num_scores++; changed++; } -- cgit v1.2.3