changeset 33424:3b95353bb7f9

Add some "const".
author reimar
date Sun, 29 May 2011 11:39:25 +0000
parents 7f43e986d780
children 15659ae10207
files stream/stream_cue.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cue.c	Sun May 29 11:37:42 2011 +0000
+++ b/stream/stream_cue.c	Sun May 29 11:39:25 2011 +0000
@@ -107,7 +107,7 @@
 /* number of tracks on the cd */
 static int nTracks = 0;
 
-static int digits2int(char s[2], int errval) {
+static int digits2int(const char s[2], int errval) {
   uint8_t a = s[0] - '0';
   uint8_t b = s[1] - '0';
   if (a > 9 || b > 9)
@@ -171,7 +171,7 @@
  * on the arrays to have the same size, thus we need to make
  * sure the sizes are in sync.
  */
-static int cue_find_bin (char *firstline) {
+static int cue_find_bin (const char *firstline) {
   const char *cur_name;
   int i;
   char bin_filename[256];
@@ -304,7 +304,7 @@
 }
 
 
-static int cue_read_cue (char *in_cue_filename)
+static int cue_read_cue (const char *in_cue_filename)
 {
   struct stat filestat;
   char sLine[256];