Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
27da00f3
Commit
27da00f3
authored
Apr 24, 2014
by
Hisham Muhammad
Browse files
Improve function prototype, helping analysis.
parent
d5b3b6d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Settings.c
View file @
27da00f3
...
@@ -61,7 +61,7 @@ static void Settings_readMeterModes(Settings* this, char* line, HeaderSide side)
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment