diff options
author | tb <tb@cvs.openbsd.org> | 2015-12-02 18:34:11 +0000 |
---|---|---|
committer | tb <tb@cvs.openbsd.org> | 2015-12-02 18:34:11 +0000 |
commit | 91e723a78c1484badd441863b11944e107b207ee (patch) | |
tree | c024dd3ffd2d7d9ac0dfd4803f38e01ec7e91303 /games | |
parent | f69997fadbf0b210679cf84d43a733768cefcce7 (diff) |
add const and remove unused variable.
from mestre.
Diffstat (limited to 'games')
-rw-r--r-- | games/canfield/canfield/canfield.c | 4 | ||||
-rw-r--r-- | games/canfield/cfscores/cfscores.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/games/canfield/canfield/canfield.c b/games/canfield/canfield/canfield.c index 5b50b9b68e3..9caff843064 100644 --- a/games/canfield/canfield/canfield.c +++ b/games/canfield/canfield/canfield.c @@ -1,4 +1,4 @@ -/* $OpenBSD: canfield.c,v 1.21 2015/11/30 08:38:13 tb Exp $ */ +/* $OpenBSD: canfield.c,v 1.22 2015/12/02 18:34:10 tb Exp $ */ /* $NetBSD: canfield.c,v 1.7 1995/05/13 07:28:35 jtc Exp $ */ /* @@ -1627,7 +1627,7 @@ initall(void) { int i, ret; char scorepath[PATH_MAX]; - char *home; + const char *home; time(&acctstart); initdeck(deck); diff --git a/games/canfield/cfscores/cfscores.c b/games/canfield/cfscores/cfscores.c index 234b01b7c0d..2706a67905b 100644 --- a/games/canfield/cfscores/cfscores.c +++ b/games/canfield/cfscores/cfscores.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfscores.c,v 1.20 2015/11/30 08:38:13 tb Exp $ */ +/* $OpenBSD: cfscores.c,v 1.21 2015/12/02 18:34:10 tb Exp $ */ /* $NetBSD: cfscores.c,v 1.3 1995/03/21 15:08:37 cgd Exp $ */ /* @@ -59,7 +59,7 @@ void printuser(void); int main(int argc, char *argv[]) { - char *home, *name; + const char *home; int ret; if (pledge("stdio rpath", NULL) == -1) |