mirror of https://github.com/xzeldon/htop.git
Improve function prototype, helping analysis.
This commit is contained in:
parent
d5b3b6d692
commit
27da00f339
|
@ -61,7 +61,7 @@ static void Settings_readMeterModes(Settings* this, char* line, HeaderSide side)
|
||||||
String_freeArray(ids);
|
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");
|
FILE* fd = fopen(fileName, "r");
|
||||||
if (!fd)
|
if (!fd)
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in New Issue