OSDN Git Service

thermometer: Make temp_type array static
authorAndrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Fri, 9 Nov 2012 08:55:53 +0000 (09:55 +0100)
committerJohan Hedberg <johan.hedberg@intel.com>
Fri, 30 Nov 2012 13:03:24 +0000 (15:03 +0200)
profiles/thermometer/thermometer.c

index 78dfacb..9fada89 100644 (file)
@@ -119,7 +119,7 @@ struct tmp_interval_data {
 
 static GSList *thermometer_adapters = NULL;
 
-const char *temp_type[] = {
+static const char * const temp_type[] = {
        "<reserved>",
        "armpit",
        "body",