Improve function prototype, helping analysis.

This commit is contained in:
Hisham Muhammad 2014-04-24 19:50:33 -03:00
parent d5b3b6d692
commit 27da00f339

View File

@ -61,7 +61,7 @@ static void Settings_readMeterModes(Settings* this, char* line, HeaderSide side)
String_freeArray(ids);
}
static bool Settings_read(Settings* this, char* fileName, int cpuCount) {
static bool Settings_read(Settings* this, const char* fileName, int cpuCount) {
FILE* fd = fopen(fileName, "r");
if (!fd)
return false;