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 --- hack/extern.h | 4 ++-- hack/hack.termcap.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'hack') diff --git a/hack/extern.h b/hack/extern.h index 0a207e34..e9b7e0f1 100644 --- a/hack/extern.h +++ b/hack/extern.h @@ -1,4 +1,4 @@ -/* $NetBSD: extern.h,v 1.1 1997/10/19 16:57:28 christos Exp $ */ +/* $NetBSD: extern.h,v 1.2 1999/10/04 23:27:01 lukem Exp $ */ /* * Copyright (c) 1997 Christos Zoulas. All rights reserved. @@ -507,7 +507,7 @@ void end_screen __P((void)); void curs __P((int, int)); void nocmov __P((int, int)); void cmov __P((int, int)); -void xputc __P((int)); +int xputc __P((int)); void xputs __P((char *)); void cl_end __P((void)); void clear_screen __P((void)); diff --git a/hack/hack.termcap.c b/hack/hack.termcap.c index 37a63f3c..2d48698d 100644 --- a/hack/hack.termcap.c +++ b/hack/hack.termcap.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.termcap.c,v 1.8 1999/08/14 16:36:42 tron Exp $ */ +/* $NetBSD: hack.termcap.c,v 1.9 1999/10/04 23:27:01 lukem Exp $ */ /* * Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. @@ -6,7 +6,7 @@ #include #ifndef lint -__RCSID("$NetBSD: hack.termcap.c,v 1.8 1999/08/14 16:36:42 tron Exp $"); +__RCSID("$NetBSD: hack.termcap.c,v 1.9 1999/10/04 23:27:01 lukem Exp $"); #endif /* not lint */ #include @@ -185,11 +185,11 @@ cmov(x, y) curx = x; } -void +int xputc(c) char c; { - (void) fputc(c, stdout); + return (fputc(c, stdout)); } void -- cgit v1.2.3