[vlc-devel] commit: changed the remaining xpm files from static char* to const static char* to avoid some more compiler warnings (Dominique Leuenberger )

git version control git at videolan.org
Tue Apr 8 23:45:04 CEST 2008


vlc | branch: master | Dominique Leuenberger <dominique at leuenberger.net> | Mon Apr  7 22:20:26 2008 +0300| [2a1252e3d64fccfbc1988f721f3ce7227cc43af8]

changed the remaining xpm files from static char* to const static char* to avoid some more compiler warnings

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2a1252e3d64fccfbc1988f721f3ce7227cc43af8
---

 share/mozilla/fullscreen.xpm        |    2 +-
 share/mozilla/pause.xpm             |    2 +-
 share/mozilla/play.xpm              |    2 +-
 share/mozilla/skip_next.xpm         |    2 +-
 share/mozilla/skip_previous.xpm     |    2 +-
 share/mozilla/stop.xpm              |    2 +-
 share/mozilla/time_icon.xpm         |    2 +-
 share/mozilla/time_line.xpm         |    2 +-
 share/mozilla/volume_knob.xpm       |    2 +-
 share/mozilla/volume_max.xpm        |    2 +-
 share/mozilla/volume_mute.xpm       |    2 +-
 share/mozilla/volume_slider_bar.xpm |    2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/share/mozilla/fullscreen.xpm b/share/mozilla/fullscreen.xpm
index a751e03..992b418 100644
--- a/share/mozilla/fullscreen.xpm
+++ b/share/mozilla/fullscreen.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * fullscreen_xpm[] = {
+static const char * fullscreen_xpm[] = {
 "26 20 5 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/pause.xpm b/share/mozilla/pause.xpm
index 2c530af..577d32d 100644
--- a/share/mozilla/pause.xpm
+++ b/share/mozilla/pause.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * pause_xpm[] = {
+static const char * pause_xpm[] = {
 "33 27 3 1",
 "+	c None",
 ".	c #999999",
diff --git a/share/mozilla/play.xpm b/share/mozilla/play.xpm
index 8fb2680..15d46bd 100644
--- a/share/mozilla/play.xpm
+++ b/share/mozilla/play.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * play_xpm[] = {
+static const char * play_xpm[] = {
 "34 27 3 1",
 "+	c None",
 ".	c #999999",
diff --git a/share/mozilla/skip_next.xpm b/share/mozilla/skip_next.xpm
index 452e483..7172774 100644
--- a/share/mozilla/skip_next.xpm
+++ b/share/mozilla/skip_next.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * skip_next_xpm[] = {
+static const char * skip_next_xpm[] = {
 "30 18 2 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/skip_previous.xpm b/share/mozilla/skip_previous.xpm
index 710aeea..8dc3d35 100644
--- a/share/mozilla/skip_previous.xpm
+++ b/share/mozilla/skip_previous.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * skip_previous_xpm[] = {
+static const char * skip_previous_xpm[] = {
 "30 18 2 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/stop.xpm b/share/mozilla/stop.xpm
index 2ecfaa7..2bf7bab 100644
--- a/share/mozilla/stop.xpm
+++ b/share/mozilla/stop.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * fs_stop_xpm[] = {
+static const char * fs_stop_xpm[] = {
 "27 27 2 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/time_icon.xpm b/share/mozilla/time_icon.xpm
index eb5c4d5..c38adc2 100644
--- a/share/mozilla/time_icon.xpm
+++ b/share/mozilla/time_icon.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * time_slider_knob_xpm[] = {
+static const char * time_slider_knob_xpm[] = {
 "8 6 3 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/time_line.xpm b/share/mozilla/time_line.xpm
index cfd9864..583d777 100644
--- a/share/mozilla/time_line.xpm
+++ b/share/mozilla/time_line.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * time_line2_xpm[] = {
+static const char * time_line2_xpm[] = {
 "518 2 2 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/volume_knob.xpm b/share/mozilla/volume_knob.xpm
index 824f6f9..177f102 100644
--- a/share/mozilla/volume_knob.xpm
+++ b/share/mozilla/volume_knob.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * volume_knob_xpm[] = {
+static const char * volume_knob_xpm[] = {
 "9 9 10 1",
 " 	c None",
 ".	c #989898",
diff --git a/share/mozilla/volume_max.xpm b/share/mozilla/volume_max.xpm
index 41a4574..1b5a957 100644
--- a/share/mozilla/volume_max.xpm
+++ b/share/mozilla/volume_max.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * volume_max_xpm[] = {
+static const char * volume_max_xpm[] = {
 "15 13 3 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/volume_mute.xpm b/share/mozilla/volume_mute.xpm
index 65eb2d3..5c4d18c 100644
--- a/share/mozilla/volume_mute.xpm
+++ b/share/mozilla/volume_mute.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * volume_mute_xpm[] = {
+static const char * volume_mute_xpm[] = {
 "7 11 2 1",
 " 	c None",
 ".	c #999999",
diff --git a/share/mozilla/volume_slider_bar.xpm b/share/mozilla/volume_slider_bar.xpm
index 3077bb8..dbebfd1 100644
--- a/share/mozilla/volume_slider_bar.xpm
+++ b/share/mozilla/volume_slider_bar.xpm
@@ -1,5 +1,5 @@
 /* XPM */
-static char * volume_slider_bar_xpm[] = {
+static const char * volume_slider_bar_xpm[] = {
 "95 2 2 1",
 " 	c None",
 ".	c #999999",




More information about the vlc-devel mailing list