mirror of
https://github.com/vattam/BSDGames.git
synced 2025-12-21 03:14:50 +00:00
copy in from cvs; cvs2svn fucked up big time
git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@9775 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
11
trek/setup.c
11
trek/setup.c
@@ -1,4 +1,4 @@
|
||||
/* $NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $ */
|
||||
/* $NetBSD: setup.c,v 1.7 2000/07/03 03:57:44 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1993
|
||||
@@ -38,12 +38,13 @@
|
||||
#if 0
|
||||
static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $");
|
||||
__RCSID("$NetBSD: setup.c,v 1.7 2000/07/03 03:57:44 matt Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
#include <err.h>
|
||||
@@ -61,7 +62,7 @@ __RCSID("$NetBSD: setup.c,v 1.5 1997/10/12 21:25:15 christos Exp $");
|
||||
** Game restart and tournament games are handled here.
|
||||
*/
|
||||
|
||||
struct cvntab Lentab[] =
|
||||
const struct cvntab Lentab[] =
|
||||
{
|
||||
{ "s", "hort", (cmdfun)1, 0 },
|
||||
{ "m", "edium", (cmdfun)2, 0 },
|
||||
@@ -70,7 +71,7 @@ struct cvntab Lentab[] =
|
||||
{ NULL, NULL, NULL, 0 }
|
||||
};
|
||||
|
||||
struct cvntab Skitab[] =
|
||||
const struct cvntab Skitab[] =
|
||||
{
|
||||
{ "n", "ovice", (cmdfun)1, 0 },
|
||||
{ "f", "air", (cmdfun)2, 0 },
|
||||
@@ -84,7 +85,7 @@ struct cvntab Skitab[] =
|
||||
void
|
||||
setup()
|
||||
{
|
||||
struct cvntab *r;
|
||||
const struct cvntab *r;
|
||||
int i, j;
|
||||
double f;
|
||||
int d;
|
||||
|
||||
Reference in New Issue
Block a user