summaryrefslogtreecommitdiff
path: root/games/worm/worm.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2004-11-29 08:52:30 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2004-11-29 08:52:30 +0000
commit9f35ef98a75e416220366f7f6ac0f8864d6239fb (patch)
treea3cc1c29744d5270e4662e30a4a7b7d0158c77ed /games/worm/worm.c
parent0e91e5b94fb68ab00eed960bad30f73eba33c15b (diff)
ansi. ok deraadt@
Diffstat (limited to 'games/worm/worm.c')
-rw-r--r--games/worm/worm.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/games/worm/worm.c b/games/worm/worm.c
index acb965ba4ce..6353e3e0eb1 100644
--- a/games/worm/worm.c
+++ b/games/worm/worm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: worm.c,v 1.21 2003/06/03 03:01:42 millert Exp $ */
+/* $OpenBSD: worm.c,v 1.22 2004/11/29 08:52:29 jsg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)worm.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$OpenBSD: worm.c,v 1.21 2003/06/03 03:01:42 millert Exp $";
+static char rcsid[] = "$OpenBSD: worm.c,v 1.22 2004/11/29 08:52:29 jsg Exp $";
#endif
#endif /* not lint */
@@ -178,7 +178,7 @@ main(int argc, char **argv)
}
void
-life()
+life(void)
{
struct body *bp, *np;
int i,j = 1;
@@ -242,7 +242,7 @@ newpos(struct body *bp)
}
void
-prize()
+prize(void)
{
int value;
@@ -333,7 +333,7 @@ process(int ch)
}
struct body *
-newlink()
+newlink(void)
{
struct body *tmp;
@@ -345,7 +345,7 @@ newlink()
}
void
-crash()
+crash(void)
{
sleep(2);
clear();
@@ -362,7 +362,7 @@ suspend(int dummy)
}
void
-setup()
+setup(void)
{
clear();
refresh();