summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons/star
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2001-02-21 11:28:02 +0000
committernyan <nyan@FreeBSD.org>2001-02-21 11:28:02 +0000
commit8fdd73848c195f474018aa7c42f3e595312eb22b (patch)
treee2b59ca9f78a8238648311866bf78180c37fe386 /sys/dev/syscons/star
parent86dc8e8b76449463a56b93170d539d866dbaa48f (diff)
downloadFreeBSD-src-8fdd73848c195f474018aa7c42f3e595312eb22b.zip
FreeBSD-src-8fdd73848c195f474018aa7c42f3e595312eb22b.tar.gz
Fixed warnings.
Diffstat (limited to 'sys/dev/syscons/star')
-rw-r--r--sys/dev/syscons/star/star_saver.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/syscons/star/star_saver.c b/sys/dev/syscons/star/star_saver.c
index 0008852..a1f24b8 100644
--- a/sys/dev/syscons/star/star_saver.c
+++ b/sys/dev/syscons/star/star_saver.c
@@ -59,12 +59,12 @@ star_saver(video_adapter_t *adp, int blank)
sc_softc_t *sc;
scr_stat *scp;
int cell, i;
- char pattern[] = {"...........++++*** "};
+ static u_char pattern[] = {"...........++++*** "};
#ifndef PC98
- char colors[] = {FG_DARKGREY, FG_LIGHTGREY,
+ static char colors[] = {FG_DARKGREY, FG_LIGHTGREY,
FG_WHITE, FG_LIGHTCYAN};
#else
- char colors[] = {FG_BLUE, FG_LIGHTGREY,
+ static char colors[] = {FG_BLUE, FG_LIGHTGREY,
FG_LIGHTGREY, FG_CYAN};
#endif /* PC98 */
static u_short stars[NUM_STARS][2];
OpenPOWER on IntegriCloud