# HG changeset patch # User Matti Hamalainen # Date 1188939782 0 # Node ID 51f994f06ac4de097ee03ec9c2dce1de66a2f9e1 # Parent a44a248536395f5c4835c60cd5b6c35807213cf9 Constify. diff -r a44a24853639 -r 51f994f06ac4 src/xs_config.c --- a/src/xs_config.c Tue Sep 04 20:51:02 2007 +0000 +++ b/src/xs_config.c Tue Sep 04 21:03:02 2007 +0000 @@ -74,13 +74,13 @@ /* Samplerates */ -static gchar *xs_samplerates_table[] = { +static const gchar *xs_samplerates_table[] = { "8000", "11025", "22050", "44100", "48000", "64000", "96000" }; -static gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0])); +static const gint xs_nsamplerates_table = (sizeof(xs_samplerates_table) / sizeof(xs_samplerates_table[0])); /* * Configuration specific stuff