Merge pull request #1604 from rubenk/sensors-make-variable-static
authorRuben Kerkhof <ruben@tilaa.nl>
Fri, 4 Mar 2016 18:12:08 +0000 (19:12 +0100)
committerRuben Kerkhof <ruben@tilaa.nl>
Fri, 4 Mar 2016 18:12:08 +0000 (19:12 +0100)
sensors plugin: mark variable as static

src/sensors.c

index dc6a210..c678dec 100644 (file)
@@ -176,7 +176,7 @@ static char *conffile = NULL;
        "as bug."
 #endif
 
-featurelist_t *first_feature = NULL;
+static featurelist_t *first_feature = NULL;
 static ignorelist_t *sensor_list;
 
 #if SENSORS_API_VERSION < 0x400