summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1997-10-14 00:41:15 +0000
committerlukem <lukem@NetBSD.org>1997-10-14 00:41:15 +0000
commit8406d70de0c36b1209aea68889d87c92506a3b3e (patch)
tree5915cb50f134511f7f7388d8a5e3ff7ece3dc756 /backgammon/common_source
parenteffbc67a69f174513e1c320e6ed35f292c67a80a (diff)
downloadbsdgames-darwin-8406d70de0c36b1209aea68889d87c92506a3b3e.tar.gz
bsdgames-darwin-8406d70de0c36b1209aea68889d87c92506a3b3e.tar.zst
bsdgames-darwin-8406d70de0c36b1209aea68889d87c92506a3b3e.zip
use <termcap.h>
Diffstat (limited to 'backgammon/common_source')
-rw-r--r--backgammon/common_source/back.h3
-rw-r--r--backgammon/common_source/fancy.c10
2 files changed, 4 insertions, 9 deletions
diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h
index 4480aed4..c548ce2a 100644
--- a/backgammon/common_source/back.h
+++ b/backgammon/common_source/back.h
@@ -1,4 +1,4 @@
-/* $NetBSD: back.h,v 1.6 1997/10/10 08:59:41 lukem Exp $ */
+/* $NetBSD: back.h,v 1.7 1997/10/14 00:41:15 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -44,6 +44,7 @@
#include <stdlib.h>
#include <string.h>
#include <termios.h>
+#include <termcap.h>
#include <unistd.h>
#define rnum(r) (random()%r)
diff --git a/backgammon/common_source/fancy.c b/backgammon/common_source/fancy.c
index e4734ca1..d58e594f 100644
--- a/backgammon/common_source/fancy.c
+++ b/backgammon/common_source/fancy.c
@@ -1,4 +1,4 @@
-/* $NetBSD: fancy.c,v 1.5 1997/10/10 08:59:45 lukem Exp $ */
+/* $NetBSD: fancy.c,v 1.6 1997/10/14 00:41:20 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,18 +38,12 @@
#if 0
static char sccsid[] = "@(#)fancy.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: fancy.c,v 1.5 1997/10/10 08:59:45 lukem Exp $");
+__RCSID("$NetBSD: fancy.c,v 1.6 1997/10/14 00:41:20 lukem Exp $");
#endif
#endif /* not lint */
#include "back.h"
-int tgetent __P((char *, char *));
-int tgetnum __P((char *));
-char *tgoto __P((char *, int, int));
-char *tgetstr __P((char *, char **));
-void tputs __P((char *, int, void (*outc) __P((int))));
-
char PC; /* padding character */
char *BC; /* backspace sequence */
char *CD; /* clear to end of screen sequence */