From 36a67d38f8e835f867ca232e5baa4965bf1fd405 Mon Sep 17 00:00:00 2001 From: lukem Date: Mon, 4 Oct 1999 23:26:59 +0000 Subject: update after change to return value of tputs() third argument --- backgammon/common_source/back.h | 4 ++-- backgammon/common_source/subs.c | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'backgammon/common_source') 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 -- cgit v1.2.3-56-ge451