From: Sami Kerola Date: Mon, 22 Aug 2016 21:04:13 +0000 (+0100) Subject: data types: set static strings to be read-only X-Git-Tag: v0.88~26^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2477bfb26b30aec5aec2c62357b6655c5c99f653;p=thirdparty%2Fmtr.git data types: set static strings to be read-only --- diff --git a/gtk.c b/gtk.c index 2a3d878..5513f1f 100644 --- a/gtk.c +++ b/gtk.c @@ -125,7 +125,7 @@ static gint Pause_clicked(UNUSED GtkWidget *Button, UNUSED gpointer data) static gint About_clicked(UNUSED GtkWidget *Button, UNUSED gpointer data) { - gchar *authors[] = { + static const gchar *authors[] = { "Matt Kimball ", "Roger Wolff ", "Bohdan Vlasyuk ", diff --git a/img/mtr_icon.xpm b/img/mtr_icon.xpm index 5c809b7..e7141d2 100644 --- a/img/mtr_icon.xpm +++ b/img/mtr_icon.xpm @@ -1,5 +1,5 @@ /* XPM */ -static char * mtr_icon[] = { +static const char * mtr_icon[] = { "48 48 131 2", " c #000000", ". c #020204",