mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-02 23:35:57 +00:00
Add some more warning flags, and fix these warnings.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4545 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -95,7 +95,7 @@ void print_version(void)
|
||||
|
||||
/* This examines global var config_file, and leaves the name there too.
|
||||
It also opens config_file. */
|
||||
void open_config_file(const char* config_file_name)
|
||||
static void open_config_file(const char* config_file_name)
|
||||
{
|
||||
if (!strcmp(config_file_name,"-")) {
|
||||
config_file = stdin;
|
||||
@@ -110,7 +110,7 @@ void open_config_file(const char* config_file_name)
|
||||
}
|
||||
}
|
||||
|
||||
void close_config_file(const char* config_file_name)
|
||||
static void close_config_file(const char* config_file_name)
|
||||
{
|
||||
if (fclose(config_file) == EOF) {
|
||||
fprintf(stderr,"Could not close config file\n");
|
||||
|
Reference in New Issue
Block a user