new upstream

git-svn-id: file:///srv/svn/joey/trunk/src/packages/bsdgames@10080 a4a2c43b-8ac3-0310-8836-e0e880c912e2
This commit is contained in:
joey
2004-02-14 21:35:37 +00:00
parent 26fb70d304
commit a02c126403
224 changed files with 5624 additions and 2217 deletions

View File

@@ -1,4 +1,4 @@
/* $NetBSD: worms.c,v 1.12 2003/08/07 09:37:57 agc Exp $ */
/* $NetBSD: worms.c,v 1.14 2004/02/08 22:21:57 jsm Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\n\
#if 0
static char sccsid[] = "@(#)worms.c 8.1 (Berkeley) 5/31/93";
#else
__RCSID("$NetBSD: worms.c,v 1.12 2003/08/07 09:37:57 agc Exp $");
__RCSID("$NetBSD: worms.c,v 1.14 2004/02/08 22:21:57 jsm Exp $");
#endif
#endif /* not lint */
@@ -179,9 +179,9 @@ static struct worm {
volatile sig_atomic_t sig_caught = 0;
int main __P((int, char **));
void nomem __P((void)) __attribute__((__noreturn__));
void onsig __P((int));
int main(int, char **);
void nomem(void) __attribute__((__noreturn__));
void onsig(int);
int
main(argc, argv)
@@ -241,7 +241,7 @@ main(argc, argv)
sizeof(struct worm))) || !(mp = malloc((size_t)1024)))
nomem();
initscr();
leaveok(stdscr, TRUE);
curs_set(0);
CO = COLS;
LI = LINES;
last = CO - 1;