make this compile after Wcast-qual

This commit is contained in:
drochner 2005-06-01 17:05:16 +00:00
parent 81d2438e71
commit 0f412f7917
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: rcons.h,v 1.14 2005/02/04 02:10:47 perry Exp $ */
/* $NetBSD: rcons.h,v 1.15 2005/06/01 17:05:16 drochner Exp $ */
/*
* Copyright (c) 1992, 1993
@ -103,12 +103,12 @@ void rcons_ttyinit(struct tty *);
/* rcons_subr.c */
void rcons_init_ops(struct rconsole *rc);
void rcons_puts(struct rconsole *, unsigned char *, int);
void rcons_puts(struct rconsole *, const unsigned char *, int);
void rcons_pctrl(struct rconsole *, int);
void rcons_esc(struct rconsole *, int);
void rcons_doesc(struct rconsole *, int);
void rcons_sgresc(struct rconsole *, int);
void rcons_text(struct rconsole *, unsigned char *, int);
void rcons_text(struct rconsole *, const unsigned char *, int);
void rcons_cursor(struct rconsole *);
void rcons_invert(struct rconsole *, int);
void rcons_clear2eop(struct rconsole *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: rcons_subr.c,v 1.13 2005/02/27 00:27:48 perry Exp $ */
/* $NetBSD: rcons_subr.c,v 1.14 2005/06/01 17:05:16 drochner Exp $ */
/*
* Copyright (c) 1991, 1993
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: rcons_subr.c,v 1.13 2005/02/27 00:27:48 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: rcons_subr.c,v 1.14 2005/06/01 17:05:16 drochner Exp $");
#include <sys/param.h>
#ifdef _KERNEL
@ -105,11 +105,11 @@ rcons_init_ops(rc)
void
rcons_puts(rc, str, n)
struct rconsole *rc;
unsigned char *str;
const unsigned char *str;
int n;
{
int c, i, j;
unsigned char *cp;
const unsigned char *cp;
/* Jump scroll */
/* XXX maybe this should be an option? */
@ -535,7 +535,7 @@ rcons_setcolor(rc, fg, bg)
void
rcons_text(rc, str, n)
struct rconsole *rc;
unsigned char *str;
const unsigned char *str;
int n;
{
u_int uc;