From c9d4b7977a995f111945b21f4115c071b5f0dd72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 1 Aug 2010 16:39:03 +0000 Subject: doom: fix types mismatch spotted by gcc 4.5.1 - some variables were defined as const but declared without const - remove double declaration of mapnames* (already in .h) - forceOldBsp is boolean, not int git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27660 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/doom/hu_stuff.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/plugins/doom/hu_stuff.h') diff --git a/apps/plugins/doom/hu_stuff.h b/apps/plugins/doom/hu_stuff.h index c0e927d..8946e06 100644 --- a/apps/plugins/doom/hu_stuff.h +++ b/apps/plugins/doom/hu_stuff.h @@ -84,9 +84,9 @@ extern int hud_displayed; /* hud is displayed */ extern int hud_active; /* hud mode 0=off, 1=small, 2=full */ extern int hud_nosecrets; /* status does not list secrets/items/kills */ -extern char **mapnames[]; -extern char **mapnames2[]; -extern char **mapnamesp[]; -extern char **mapnamest[]; +extern const char ** const mapnames[]; +extern const char ** const mapnames2[]; +extern const char ** const mapnamesp[]; +extern const char ** const mapnamest[]; #endif -- cgit v1.1