data types: set static strings to be read-only

This commit is contained in:
Sami Kerola 2016-08-22 22:04:13 +01:00
parent 69c34f2d74
commit 2477bfb26b
No known key found for this signature in database
GPG Key ID: A9553245FDE9B739
2 changed files with 2 additions and 2 deletions

2
gtk.c
View File

@ -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 <mkimball@xmission.com>",
"Roger Wolff <R.E.Wolff@BitWizard.nl>",
"Bohdan Vlasyuk <bohdan@cec.vstu.vinnica.ua>",

View File

@ -1,5 +1,5 @@
/* XPM */
static char * mtr_icon[] = {
static const char * mtr_icon[] = {
"48 48 131 2",
" c #000000",
". c #020204",