[PATCH] changed the remaining xpm files from static char* to const =

Dominique Leuenberger dominique at leuenberger.net
Mon Apr 7 21:20:26 CEST 2008


static char* to avoid some more compiler warnings

---
 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[] =3D {
+static const char * fullscreen_xpm[] =3D {
 "26 20 5 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * pause_xpm[] =3D {
 "33 27 3 1",
 "+=09c None",
 ".=09c #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[] =3D {
+static const char * play_xpm[] =3D {
 "34 27 3 1",
 "+=09c None",
 ".=09c #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[] =3D {
+static const char * skip_next_xpm[] =3D {
 "30 18 2 1",
 " =09c None",
 ".=09c #999999",
diff --git a/share/mozilla/skip_previous.xpm b/share/mozilla/skip_previous.x=
pm
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[] =3D {
+static const char * skip_previous_xpm[] =3D {
 "30 18 2 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * fs_stop_xpm[] =3D {
 "27 27 2 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * time_slider_knob_xpm[] =3D {
 "8 6 3 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * time_line2_xpm[] =3D {
 "518 2 2 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * volume_knob_xpm[] =3D {
 "9 9 10 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * volume_max_xpm[] =3D {
 "15 13 3 1",
 " =09c None",
 ".=09c #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[] =3D {
+static const char * volume_mute_xpm[] =3D {
 "7 11 2 1",
 " =09c None",
 ".=09c #999999",
diff --git a/share/mozilla/volume_slider_bar.xpm b/share/mozilla/volume_slid=
er_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[] =3D {
+static const char * volume_slider_bar_xpm[] =3D {
 "95 2 2 1",
 " =09c None",
 ".=09c #999999",
--=20
1.5.4.4

--=_136uaku9yalw--

--=_5ahvoju7egow
Content-Type: application/pgp-signature
Content-Description: PGP Digital Signature
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBH+7sV5p8iCJtJfJkRAkHBAJ9v0X2PxGDkFRU8nvNR5Viv+0IAuQCfaWYe
zTmIJyPCwDzuiRwSPwUKOHo=
=Xvox
-----END PGP SIGNATURE-----

--=_5ahvoju7egow--


More information about the vlc-devel mailing list