From 2477bfb26b30aec5aec2c62357b6655c5c99f653 Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 22 Aug 2016 22:04:13 +0100 Subject: [PATCH] data types: set static strings to be read-only --- gtk.c | 2 +- img/mtr_icon.xpm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", -- 2.47.2