# HG changeset patch # User szabii # Date 992210694 0 # Node ID e2e9a82f9134da04a60194779712e3b123cdc78a # Parent 5bbe4be92507ee0187d995ace381acd0eb5a0263 nothing important diff -r 5bbe4be92507 -r e2e9a82f9134 libvo/vo_fbdev.c --- a/libvo/vo_fbdev.c Sun Jun 10 22:04:10 2001 +0000 +++ b/libvo/vo_fbdev.c Sun Jun 10 22:04:54 2001 +0000 @@ -453,7 +453,7 @@ static void set_bpp(struct fb_var_screeninfo *p, int bpp) { p->bits_per_pixel = (bpp + 1) & ~1; - p->red.msb_right = p->green.msb_right = p->blue.msb_right = 0; + p->red.msb_right = p->green.msb_right = p->blue.msb_right = p->transp.msb_right = 0; p->transp.offset = p->transp.length = 0; p->blue.offset = 0; switch (bpp) { @@ -568,15 +568,15 @@ char *monitor_dotclock_str = NULL; /* fb.modes related variables */ -range_t *monitor_hfreq = NULL; -range_t *monitor_vfreq = NULL; -range_t *monitor_dotclock = NULL; +static range_t *monitor_hfreq = NULL; +static range_t *monitor_vfreq = NULL; +static range_t *monitor_dotclock = NULL; static fb_mode_t *fb_mode = NULL; /* vt related variables */ -int vt_fd; -FILE *vt_fp; -int vt_doit = 1; +static int vt_fd; +static FILE *vt_fp; +static int vt_doit = 1; /* vo_fbdev related variables */ static int fb_dev_fd;