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

This commit is contained in:
marschap committed 2006-09-12 16:23:24 +00:00
1 parent f34c246200
commit cc2c84a7b8
21 files changed
+78 -68

No files matched your search

+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;