-/* $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
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));
-/* $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
#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 */
getout(0);
}
-void
+int
addbuf(c)
int c;
{
buffnum = 0;
}
outbuff[buffnum] = c;
+ return (0);
}
void
-/* $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.
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));
-/* $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.
#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>
curx = x;
}
-void
+int
xputc(c)
char c;
{
- (void) fputc(c, stdout);
+ return (fputc(c, stdout));
}
void
-/* $NetBSD: extern.h,v 1.1 1997/10/18 20:03:17 christos Exp $ */
+/* $NetBSD: extern.h,v 1.2 1999/10/04 23:27:02 lukem Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
void standout __P((char *));
void set_score_output __P((void));
void lflush __P((void));
-void xputchar __P((int));
+int xputchar __P((int));
void flush_buf __P((void));
char *tmcapcnv __P((char *, char *));
void beep __P((void));
-/* $NetBSD: io.c,v 1.7 1997/10/18 20:03:26 christos Exp $ */
+/* $NetBSD: io.c,v 1.8 1999/10/04 23:27:02 lukem Exp $ */
/*
* io.c Larn is copyrighted 1986 by Noah Morgan.
*/
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: io.c,v 1.7 1997/10/18 20:03:26 christos Exp $");
+__RCSID("$NetBSD: io.c,v 1.8 1999/10/04 23:27:02 lukem Exp $");
#endif /* not lint */
#include "header.h"
/*
* xputchar(ch) Print one character in decoded output buffer.
*/
-void
+int
xputchar(c)
int c;
{
outbuf[vindex++] = c;
if (vindex >= BUFBIG)
flush_buf();
+ return (0);
}
/*
-/* $NetBSD: main.c,v 1.11 1999/09/12 09:02:22 jsm Exp $ */
+/* $NetBSD: main.c,v 1.12 1999/10/04 23:27:02 lukem Exp $ */
/*
* Copyright (c) 1980, 1993
#if 0
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: main.c,v 1.11 1999/09/12 09:02:22 jsm Exp $");
+__RCSID("$NetBSD: main.c,v 1.12 1999/10/04 23:27:02 lukem Exp $");
#endif
#endif /* not lint */
return(0);
}
-void
+int
__cputchar(ch)
int ch;
{
- (void)putchar(ch);
+ return (putchar(ch));
}
/*
-/* $NetBSD: screen.c,v 1.12 1999/09/08 21:45:31 jsm Exp $ */
+/* $NetBSD: screen.c,v 1.13 1999/10/04 23:27:03 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
/*
* Routine used by tputs().
*/
-void
+int
put(c)
int c;
{
- (void) putchar(c);
+ return (putchar(c));
}
/*
-/* $NetBSD: screen.h,v 1.3 1997/10/14 01:14:34 lukem Exp $ */
+/* $NetBSD: screen.h,v 1.4 1999/10/04 23:27:03 lukem Exp $ */
/*-
* Copyright (c) 1992, 1993
*/
#define putpad(s) tputs(s, 1, put)
-void put __P((int)); /* just calls putchar; for tputs */
+int put __P((int)); /* just calls putchar; for tputs */
void scr_clear __P((void));
void scr_end __P((void));
void scr_init __P((void));