mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
fbdev stuff is now warnings clean, so all -Werror for it
This commit is contained in:
parent
4dfc6b1285
commit
4c628d0c04
4 changed files with 3 additions and 8 deletions
|
@ -38,7 +38,7 @@ struct color {
|
|||
|
||||
struct VideoMode {
|
||||
struct VideoMode *next;
|
||||
char *name;
|
||||
const char *name;
|
||||
/* geometry */
|
||||
__u32 xres;
|
||||
__u32 yres;
|
||||
|
|
|
@ -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
|
||||
#
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue