diff options
Diffstat (limited to 'hack')
-rw-r--r-- | hack/extern.h | 4 | ||||
-rw-r--r-- | hack/hack.termcap.c | 8 |
2 files changed, 6 insertions, 6 deletions
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 <sys/cdefs.h> #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 <string.h> @@ -185,11 +185,11 @@ cmov(x, y) curx = x; } -void +int xputc(c) char c; { - (void) fputc(c, stdout); + return (fputc(c, stdout)); } void |