From c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb Mon Sep 17 00:00:00 2001 From: hubertf Date: Sun, 13 Sep 1998 00:07:24 +0000 Subject: constify, per PR 6041 by Joseph Myers --- adventure/crc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'adventure/crc.c') diff --git a/adventure/crc.c b/adventure/crc.c index 768882d9..b80b1263 100644 --- a/adventure/crc.c +++ b/adventure/crc.c @@ -1,4 +1,4 @@ -/* $NetBSD: crc.c,v 1.5 1997/10/11 01:53:21 lukem Exp $ */ +/* $NetBSD: crc.c,v 1.6 1998/09/13 00:07:24 hubertf Exp $ */ /*- * Copyright (c) 1993 @@ -42,7 +42,7 @@ static char sccsid[] = "@(#)crc.c 8.1 (Berkeley) 5/31/93"; static char ORIGINAL_sccsid[] = "@(#)crc.c 5.2 (Berkeley) 4/4/91"; #else -__RCSID("$NetBSD: crc.c,v 1.5 1997/10/11 01:53:21 lukem Exp $"); +__RCSID("$NetBSD: crc.c,v 1.6 1998/09/13 00:07:24 hubertf Exp $"); #endif #endif /* not lint */ @@ -121,11 +121,11 @@ crc_start() unsigned long crc(ptr, nr) /* Process nr bytes at a time; ptr points to them */ - char *ptr; + const char *ptr; int nr; { int i; - char *p; + const char *p; while (nr > 0) for (p = ptr; nr--; ++p) { -- cgit v1.2.3