summaryrefslogtreecommitdiffstats
path: root/backgammon/common_source
diff options
context:
space:
mode:
authorlukem <lukem@NetBSD.org>1999-10-04 23:26:59 +0000
committerlukem <lukem@NetBSD.org>1999-10-04 23:26:59 +0000
commit36a67d38f8e835f867ca232e5baa4965bf1fd405 (patch)
treea4003f08f7ef5a5ccf409deee5a69d166b6d6fb0 /backgammon/common_source
parent66dcf6ac131bfb208ed57aa184d0e385386590ee (diff)
downloadbsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.gz
bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.tar.zst
bsdgames-darwin-36a67d38f8e835f867ca232e5baa4965bf1fd405.zip
update after change to return value of tputs() third argument
Diffstat (limited to 'backgammon/common_source')
-rw-r--r--backgammon/common_source/back.h4
-rw-r--r--backgammon/common_source/subs.c7
2 files changed, 6 insertions, 5 deletions
diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h
index 4f29b622..cee5e6d3 100644
--- a/backgammon/common_source/back.h
+++ b/backgammon/common_source/back.h
@@ -1,4 +1,4 @@
-/* $NetBSD: back.h,v 1.11 1999/07/26 20:56:03 hubertf Exp $ */
+/* $NetBSD: back.h,v 1.12 1999/10/04 23:26:59 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -133,7 +133,7 @@ extern int curc; /* column position of cursor */
extern int begscr; /* 'beginning' of screen
(not including board) */
-void addbuf __P((int));
+int addbuf __P((int));
void backone __P((int));
void bsect __P((int, int, int, int));
void buflush __P((void));
diff --git a/backgammon/common_source/subs.c b/backgammon/common_source/subs.c
index ed1ff479..32ae1f4b 100644
--- a/backgammon/common_source/subs.c
+++ b/backgammon/common_source/subs.c
@@ -1,4 +1,4 @@
-/* $NetBSD: subs.c,v 1.12 1999/09/08 21:45:25 jsm Exp $ */
+/* $NetBSD: subs.c,v 1.13 1999/10/04 23:26:59 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: subs.c,v 1.12 1999/09/08 21:45:25 jsm Exp $");
+__RCSID("$NetBSD: subs.c,v 1.13 1999/10/04 23:26:59 lukem Exp $");
#endif
#endif /* not lint */
@@ -73,7 +73,7 @@ errexit(s)
getout(0);
}
-void
+int
addbuf(c)
int c;
{
@@ -84,6 +84,7 @@ addbuf(c)
buffnum = 0;
}
outbuff[buffnum] = c;
+ return (0);
}
void