constify the version string
This commit is contained in:
parent
49bf5e73fa
commit
2a767ad336
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: player.h,v 1.11 2003/08/07 09:37:44 agc Exp $ */
|
||||
/* $NetBSD: player.h,v 1.12 2009/03/14 20:10:43 dholland Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -90,7 +90,7 @@ extern int loaded, fired, changed, repaired;
|
||||
extern int dont_adjust;
|
||||
extern int viewrow, viewcol;
|
||||
extern char movebuf[sizeof SHIP(0)->file->movebuf];
|
||||
extern char version[];
|
||||
extern const char version[];
|
||||
extern int player;
|
||||
extern struct ship *ms; /* memorial structure, &cc->ship[player] */
|
||||
extern struct File *mf; /* ms->file */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: version.c,v 1.5 2003/08/07 09:37:45 agc Exp $ */
|
||||
/* $NetBSD: version.c,v 1.6 2009/03/14 20:10:43 dholland Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1993
|
||||
@ -34,8 +34,8 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)version.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: version.c,v 1.5 2003/08/07 09:37:45 agc Exp $");
|
||||
__RCSID("$NetBSD: version.c,v 1.6 2009/03/14 20:10:43 dholland Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
char version[] = "Wooden Ships and Iron Men, Version 8.1 (93/05/31)";
|
||||
const char version[] = "Wooden Ships and Iron Men, Version 8.1 (93/05/31)";
|
||||
|
Loading…
Reference in New Issue
Block a user