Change bt478.c to include bt478var.h from bt478.c.
Remove redundant declarations.
This commit is contained in:
parent
2e4e1695fe
commit
f78ff890d7
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bt478.c,v 1.4 1996/04/08 00:57:43 jonathan Exp $ */
|
||||
/* $NetBSD: bt478.c,v 1.5 1996/09/21 03:22:25 jonathan Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -69,6 +69,7 @@
|
|||
#include <machine/fbvar.h>
|
||||
|
||||
#include <pmax/dev/bt478.h>
|
||||
#include <pmax/dev/bt478var.h>
|
||||
#include <pmax/pmax/kn01.h>
|
||||
|
||||
/*
|
||||
|
@ -76,23 +77,10 @@
|
|||
*/
|
||||
|
||||
|
||||
int bt478init __P((struct fbinfo *fi));
|
||||
|
||||
void bt478RestoreCursorColor __P((struct fbinfo *fi));
|
||||
/* qvss ioctl interface uses this */
|
||||
/* XXX qvss ioctl interface uses this */
|
||||
void bt478CursorColor __P((struct fbinfo *fi, unsigned int color[]));
|
||||
|
||||
void bt478BlankCursor __P((struct fbinfo *fi));
|
||||
/*static*/ void bt478InitColorMap __P((struct fbinfo *fi));
|
||||
int bt478GetColorMap __P((struct fbinfo *fi, caddr_t bits,
|
||||
int index, int count));
|
||||
int bt478LoadColorMap __P((struct fbinfo *fi, caddr_t bits,
|
||||
int index, int count));
|
||||
|
||||
|
||||
|
||||
extern int pmax_boardtype;
|
||||
extern u_short defCursor[32];
|
||||
|
||||
static u_char bg_RGB[3]; /* background color for the cursor */
|
||||
static u_char fg_RGB[3]; /* foreground color for the cursor */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: bt478var.h,v 1.1 1996/09/21 03:02:10 jonathan Exp $ */
|
||||
/* $NetBSD: bt478var.h,v 1.2 1996/09/21 03:22:24 jonathan Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1996 The Board of Trustees of The Leland Stanford
|
||||
|
@ -22,5 +22,7 @@ int bt478init __P((struct fbinfo *fi));
|
|||
void bt478BlankCursor __P((struct fbinfo *fi));
|
||||
void bt478RestoreCursorColor __P((struct fbinfo *fi));
|
||||
void bt478InitColorMap __P((struct fbinfo *fi));
|
||||
int bt478LoadColorMap __P ((struct fbinfo *, caddr_t, int, int));
|
||||
int bt478GetColorMap __P ((struct fbinfo *, caddr_t, int, int));
|
||||
int bt478LoadColorMap __P ((struct fbinfo *fi, caddr_t bits,
|
||||
int index, int count));
|
||||
int bt478GetColorMap __P ((struct fbinfo *fi, caddr_t bits,
|
||||
int index, int count));
|
||||
|
|
Loading…
Reference in New Issue