make this compile after Wcast-qual
This commit is contained in:
parent
81d2438e71
commit
0f412f7917
|
@ -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
|
* Copyright (c) 1992, 1993
|
||||||
|
@ -103,12 +103,12 @@ void rcons_ttyinit(struct tty *);
|
||||||
|
|
||||||
/* rcons_subr.c */
|
/* rcons_subr.c */
|
||||||
void rcons_init_ops(struct rconsole *rc);
|
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_pctrl(struct rconsole *, int);
|
||||||
void rcons_esc(struct rconsole *, int);
|
void rcons_esc(struct rconsole *, int);
|
||||||
void rcons_doesc(struct rconsole *, int);
|
void rcons_doesc(struct rconsole *, int);
|
||||||
void rcons_sgresc(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_cursor(struct rconsole *);
|
||||||
void rcons_invert(struct rconsole *, int);
|
void rcons_invert(struct rconsole *, int);
|
||||||
void rcons_clear2eop(struct rconsole *);
|
void rcons_clear2eop(struct rconsole *);
|
||||||
|
|
|
@ -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
|
* Copyright (c) 1991, 1993
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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>
|
#include <sys/param.h>
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
|
@ -105,11 +105,11 @@ rcons_init_ops(rc)
|
||||||
void
|
void
|
||||||
rcons_puts(rc, str, n)
|
rcons_puts(rc, str, n)
|
||||||
struct rconsole *rc;
|
struct rconsole *rc;
|
||||||
unsigned char *str;
|
const unsigned char *str;
|
||||||
int n;
|
int n;
|
||||||
{
|
{
|
||||||
int c, i, j;
|
int c, i, j;
|
||||||
unsigned char *cp;
|
const unsigned char *cp;
|
||||||
|
|
||||||
/* Jump scroll */
|
/* Jump scroll */
|
||||||
/* XXX maybe this should be an option? */
|
/* XXX maybe this should be an option? */
|
||||||
|
@ -535,7 +535,7 @@ rcons_setcolor(rc, fg, bg)
|
||||||
void
|
void
|
||||||
rcons_text(rc, str, n)
|
rcons_text(rc, str, n)
|
||||||
struct rconsole *rc;
|
struct rconsole *rc;
|
||||||
unsigned char *str;
|
const unsigned char *str;
|
||||||
int n;
|
int n;
|
||||||
{
|
{
|
||||||
u_int uc;
|
u_int uc;
|
||||||
|
|
Loading…
Reference in New Issue