Mercurial > hg > xmms-sid
changeset 643:51f994f06ac4
Constify.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 04 Sep 2007 21:03:02 +0000 |
parents | a44a24853639 |
children | 1684092c2bc9 |
files | src/xs_config.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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