fbdev stuff is now warnings clean, so all -Werror for it

This commit is contained in:
Bill Currie 2001-11-20 03:40:57 +00:00
parent 4dfc6b1285
commit 4c628d0c04
4 changed files with 3 additions and 8 deletions

View file

@ -38,7 +38,7 @@ struct color {
struct VideoMode {
struct VideoMode *next;
char *name;
const char *name;
/* geometry */
__u32 xres;
__u32 yres;

View file

@ -50,11 +50,6 @@ libQFfbdev_la_SOURCES= fbset.c fbset_modes_y.y fbset_modes_l.l \
in_fbdev.c vid.c vid_common_sw.c vid_fbdev.c \
$(in_common_SOURCE)
fbset_modes_y.lo: $(srcdir)/fbset_modes_y.c
$(LTCOMPILE) -Wno-error -c $<
fbset_modes_l.lo: $(srcdir)/fbset_modes_l.c
$(LTCOMPILE) -Wno-error -c $<
#
# OpenGL in X Window
#

View file

@ -41,7 +41,7 @@ static void ClearVideoMode(void)
%union {
int int_val;
char *string;
const char *string;
}
%token MODE GEOMETRY TIMINGS HSYNC VSYNC CSYNC GSYNC EXTSYNC BCAST LACED DOUBLE

View file

@ -241,7 +241,7 @@ VID_InitModes (void)
num_modes = VID_NumModes();
}
static char *
static const char *
get_mode (char *name, int width, int height, int depth)
{
struct VideoMode *vmode;