diff options
author | hubertf <hubertf@NetBSD.org> | 1998-09-13 00:07:24 +0000 |
---|---|---|
committer | hubertf <hubertf@NetBSD.org> | 1998-09-13 00:07:24 +0000 |
commit | c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb (patch) | |
tree | 6851ebb9da45b6488dcea64b004f231a9eb2caee /adventure/save.c | |
parent | 36d0ac95346e7a22f32d5613230227fcfd74fa51 (diff) | |
download | bsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.tar.gz bsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.tar.zst bsdgames-darwin-c352f3e872a5c707bab0c5de75c1a6e5c4ca9cbb.zip |
constify, per PR 6041 by Joseph Myers <jsm28@cam.ac.uk>
Diffstat (limited to 'adventure/save.c')
-rw-r--r-- | adventure/save.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |