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/save.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'adventure/save.c') diff --git a/adventure/save.c b/adventure/save.c index 8eed7e14..c2dc9215 100644 --- a/adventure/save.c +++ b/adventure/save.c @@ -1,4 +1,4 @@ -/* $NetBSD: save.c,v 1.4 1997/10/11 01:53:33 lukem Exp $ */ +/* $NetBSD: save.c,v 1.5 1998/09/13 00:07:24 hubertf Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -43,7 +43,7 @@ #if 0 static char sccsid[] = "@(#)save.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: save.c,v 1.4 1997/10/11 01:53:33 lukem Exp $"); +__RCSID("$NetBSD: save.c,v 1.5 1998/09/13 00:07:24 hubertf Exp $"); #endif #endif /* not lint */ @@ -126,7 +126,7 @@ struct savestruct save_array[] = int save(outfile) /* Two passes on data: first to get checksum, * second */ - char *outfile; /* to output the data using checksum to start + const char *outfile; /* to output the data using checksum to start * random #s */ { FILE *out; @@ -158,7 +158,7 @@ save(outfile) /* Two passes on data: first to get checksum, int restore(infile) - char *infile; + const char *infile; { FILE *in; struct savestruct *p; -- cgit v1.2.3