use const for readonly strings and set some functions to static
[blender.git] / source / blender / render / intern / source / pipeline.c
index bbe3276..64b36c1 100644 (file)
@@ -405,7 +405,7 @@ static const char *get_pass_name(int passtype, int channel)
        return "Unknown";
 }
 
-static int passtype_from_name(char *str)
+static int passtype_from_name(const char *str)
 {
        
        if(strcmp(str, "Combined")==0)