declare constant function parameters const (as well as constant function return values)

This commit is contained in:
marschap
2006-09-12 16:23:24 +00:00
parent f34c246200
commit cc2c84a7b8
21 changed files with 78 additions and 68 deletions
+2 -2
View File
@@ -175,9 +175,9 @@ int process_command_line(int argc, char **argv)
return error;
}
int process_configfile(char * configfile)
int process_configfile(char *configfile)
{
char * tmp;
const char *tmp;
if (configfile == NULL)
configfile = DEFAULT_CONFIGFILE;