changeset 1590:03a55d1af593

Constify.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Sep 2007 00:10:06 +0300
parents e03c60a75c23
children fccf78344cab
files src/sid/xs_config.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_config.c	Wed Sep 05 00:09:50 2007 +0300
+++ b/src/sid/xs_config.c	Wed Sep 05 00:10:06 2007 +0300
@@ -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