2
0
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:
Jean Delvare
2007-07-03 16:03:22 +00:00
parent c7c77845d2
commit b79274babd
13 changed files with 52 additions and 42 deletions

View File

@@ -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");