mirror of
https://github.com/xzeldon/htop.git
synced 2025-04-05 02:47:07 +03:00
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…
x
Reference in New Issue
Block a user