summaryrefslogtreecommitdiffstats
path: root/games/worms
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-12-07 02:01:29 +0000
committerbillf <billf@FreeBSD.org>1999-12-07 02:01:29 +0000
commit8a579439befa70baab9ce1fd7656960e831edb1c (patch)
tree26071a5c4ce3d96cd04aad72777cc8292de04587 /games/worms
parentfcfd8dc948acdb584bff88698b9924bee8151854 (diff)
downloadFreeBSD-src-8a579439befa70baab9ce1fd7656960e831edb1c.zip
FreeBSD-src-8a579439befa70baab9ce1fd7656960e831edb1c.tar.gz
-Wall cleanup.
XXX: The signal handling "fix" for worm(6) is wrong. However, the functions themselves are wrong as well: See sigaction(2).
Diffstat (limited to 'games/worms')
-rw-r--r--games/worms/worms.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/games/worms/worms.c b/games/worms/worms.c
index 6dec61e..39c5511 100644
--- a/games/worms/worms.c
+++ b/games/worms/worms.c
@@ -187,15 +187,12 @@ main(argc, argv)
int argc;
char *argv[];
{
- extern int optind;
- extern char *optarg;
int x, y, h, n;
struct worm *w;
const struct options *op;
short *ip;
int CO, LI, last, bottom, ch, length, number, trail;
short **ref;
- long random();
const char *field;
char *mp;
unsigned int delay = 0;
OpenPOWER on IntegriCloud