From e30950ccc7c7c31c69f1d31c16b0212bbf168ceb Mon Sep 17 00:00:00 2001 From: dholland Date: Mon, 28 Jan 2008 05:38:53 +0000 Subject: Larn now builds with WARNS=4. --- larn/data.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'larn/data.c') diff --git a/larn/data.c b/larn/data.c index 81bef8d0..a62eaf5c 100644 --- a/larn/data.c +++ b/larn/data.c @@ -1,4 +1,4 @@ -/* $NetBSD: data.c,v 1.11 2007/04/22 02:09:02 mouse Exp $ */ +/* $NetBSD: data.c,v 1.12 2008/01/28 05:38:53 dholland Exp $ */ /*- * Copyright (c) 1988 The Regents of the University of California. @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)data.c 5.3 (Berkeley) 5/13/91"; #else -__RCSID("$NetBSD: data.c,v 1.11 2007/04/22 02:09:02 mouse Exp $"); +__RCSID("$NetBSD: data.c,v 1.12 2008/01/28 05:38:53 dholland Exp $"); #endif #endif /* not lint */ @@ -55,7 +55,7 @@ static char aa6[] = " major deity "; static char aa7[] = " novice guardian "; static char aa8[] = "apprentice guardian"; static char aa9[] = " The Creator "; -u_char *class[] = +const char *class[] = { " novice explorer ", "apprentice explorer", " practiced explorer", /* -3 */ " expert explorer ", " novice adventurer", " adventurer ", /* -6 */ @@ -173,12 +173,12 @@ int enable_scroll = 0; /* constant for enabled/disabled char aborted[] = " aborted"; struct sphere *spheres = 0; /* pointer to linked list for spheres of * annihilation */ -char *levelname[] = +const char *levelname[] = {" H", " 1", " 2", " 3", " 4", " 5", " 6", " 7", " 8", " 9", "10", "V1", "V2", "V3"}; char objnamelist[] = " ATOP%^F&^+M=%^$$f*OD#~][[)))(((||||||||{?!BC}o:@.<<<