summaryrefslogtreecommitdiffstats
path: root/backgammon
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-08-12 04:51:11 +0000
committerdholland <dholland@NetBSD.org>2009-08-12 04:51:11 +0000
commit653e85afa892eacbbdb9b34fd73115cc38be3911 (patch)
treebaea652efdad7138836f525178b03d6e95022f8a /backgammon
parentc3bf93e0abeaf9b5ea304d3573f2beda026b1a1b (diff)
downloadbsdgames-darwin-653e85afa892eacbbdb9b34fd73115cc38be3911.tar.gz
bsdgames-darwin-653e85afa892eacbbdb9b34fd73115cc38be3911.tar.zst
bsdgames-darwin-653e85afa892eacbbdb9b34fd73115cc38be3911.zip
looks as if "ospeed" here was meant to be extern.
Diffstat (limited to 'backgammon')
-rw-r--r--backgammon/backgammon/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/backgammon/backgammon/main.c b/backgammon/backgammon/main.c
index ab264f53..cd762296 100644
--- a/backgammon/backgammon/main.c
+++ b/backgammon/backgammon/main.c
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.25 2008/07/21 13:24:38 lukem Exp $ */
+/* $NetBSD: main.c,v 1.26 2009/08/12 04:51:11 dholland Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1993\
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.25 2008/07/21 13:24:38 lukem Exp $");
+__RCSID("$NetBSD: main.c,v 1.26 2009/08/12 04:51:11 dholland Exp $");
#endif
#endif /* not lint */
@@ -52,7 +52,7 @@ __RCSID("$NetBSD: main.c,v 1.25 2008/07/21 13:24:38 lukem Exp $");
extern const char *const instr[]; /* text of instructions */
extern const char *const message[]; /* update message */
-short ospeed; /* tty output speed */
+extern short ospeed; /* tty output speed */
const char *const helpm[] = { /* help message */
"Enter a space or newline to roll, or",