summaryrefslogtreecommitdiff
path: root/games/canfield/cfscores/cfscores.c
diff options
context:
space:
mode:
authortb <tb@cvs.openbsd.org>2015-12-02 18:34:11 +0000
committertb <tb@cvs.openbsd.org>2015-12-02 18:34:11 +0000
commit91e723a78c1484badd441863b11944e107b207ee (patch)
treec024dd3ffd2d7d9ac0dfd4803f38e01ec7e91303 /games/canfield/cfscores/cfscores.c
parentf69997fadbf0b210679cf84d43a733768cefcce7 (diff)
add const and remove unused variable.
from mestre.
Diffstat (limited to 'games/canfield/cfscores/cfscores.c')
-rw-r--r--games/canfield/cfscores/cfscores.c4
1 files changed, 2 insertions, 2 deletions
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)