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);
|
||||
}
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue