update post change to return value of tputs() third argument

This commit is contained in:
lukem 1999-10-04 23:21:18 +00:00
parent 221c1729ad
commit 8376788fe0
3 changed files with 11 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cr_put.c,v 1.13 1999/06/28 13:32:43 simonb Exp $ */
/* $NetBSD: cr_put.c,v 1.14 1999/10/04 23:21:18 lukem Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)cr_put.c 8.3 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: cr_put.c,v 1.13 1999/06/28 13:32:43 simonb Exp $");
__RCSID("$NetBSD: cr_put.c,v 1.14 1999/10/04 23:21:18 lukem Exp $");
#endif
#endif /* not lint */
@ -64,7 +64,7 @@ mvcur(ly, lx, y, x)
static void fgoto __P((int));
static int plod __P((int, int));
static void plodput __P((int));
static int plodput __P((int));
static int tabcol __P((int, int));
static int outcol, outline, destcol, destline;
@ -189,7 +189,7 @@ fgoto(in_refresh)
static int plodcnt, plodflg;
static void
static int
plodput(c)
int c;
{
@ -197,6 +197,7 @@ plodput(c)
--plodcnt;
else
putchar(c);
return (0);
}
static int

View File

@ -1,4 +1,4 @@
/* $NetBSD: curses.h,v 1.27 1999/09/29 00:34:38 simonb Exp $ */
/* $NetBSD: curses.h,v 1.28 1999/10/04 23:21:18 lukem Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@ -472,7 +472,7 @@ int wunderend __P((WINDOW *));
int vwprintw __P((WINDOW *, const char *, _BSD_VA_LIST_));
/* Private functions that are needed for user programs prototypes. */
void __cputchar __P((int));
int __cputchar __P((int));
int __waddbytes __P((WINDOW *, const char *, int, int));
__END_DECLS

View File

@ -1,4 +1,4 @@
/* $NetBSD: putchar.c,v 1.8 1999/04/13 14:08:18 mrg Exp $ */
/* $NetBSD: putchar.c,v 1.9 1999/10/04 23:21:19 lukem Exp $ */
/*
* Copyright (c) 1981, 1993, 1994
@ -38,13 +38,13 @@
#if 0
static char sccsid[] = "@(#)putchar.c 8.2 (Berkeley) 5/4/94";
#else
__RCSID("$NetBSD: putchar.c,v 1.8 1999/04/13 14:08:18 mrg Exp $");
__RCSID("$NetBSD: putchar.c,v 1.9 1999/10/04 23:21:19 lukem Exp $");
#endif
#endif /* not lint */
#include "curses.h"
void
int
__cputchar(ch)
int ch;
{
@ -52,5 +52,5 @@ __cputchar(ch)
#ifdef DEBUG
__CTRACE("__cputchar: %d\n", unctrl(ch));
#endif
(void)putchar(ch);
return (putchar(ch));
}