-/* $NetBSD: curses.c,v 1.3 1995/04/22 10:27:27 cgd Exp $ */
+/* $NetBSD: curses.c,v 1.4 1997/10/12 11:45:01 lukem Exp $ */
/*
* Copyright (c) 1988, 1993
* SUCH DAMAGE.
*/
+#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)curses.c 8.1 (Berkeley) 5/31/93";
#else
-static char rcsid[] = "$NetBSD: curses.c,v 1.3 1995/04/22 10:27:27 cgd Exp $";
+__RCSID("$NetBSD: curses.c,v 1.4 1997/10/12 11:45:01 lukem Exp $");
#endif
#endif /* not lint */
}
addch(ch)
-register int ch;
+ int ch;
{
short row, col;
refresh()
{
- register i, j, line;
+ int i, j, line;
short old_row, old_col, first_row;
if (screen_dirty) {
clear_buffers()
{
- register i, j;
+ int i, j;
screen_dirty = 0;
}
put_char_at(row, col, ch)
-register row, col, ch;
+ int row, col, ch;
{
put_cursor(row, col);
put_st_char(ch);
}
put_cursor(row, col)
-register row, col;
+ int row, col;
{
- register i, rdif, cdif;
+ int i, rdif, cdif;
short ch, t;
rdif = (row > cur_row) ? row - cur_row : cur_row - row;
}
put_st_char(ch)
-register ch;
+ int ch;
{
if ((ch & ST_MASK) && (!term_stand_out)) {
ch &= ~ST_MASK;
cm_end[j] = 0;
}
-#endif
+#endif /* CURSES */