diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-28 12:23:07 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-09-29 10:44:42 +0200 |
commit | 6db2d52261d676a378625a24c307fa718025bc5f (patch) | |
tree | aee3ae4218543b0c5b7abc8b04b93b2c3dcbb33b /BatteryMeter.c | |
parent | 843949131aa75312086bea6a50408e09d82f5209 (diff) |
Covert Meter attributes to file-local constant arrays
Diffstat (limited to 'BatteryMeter.c')
-rw-r--r-- | BatteryMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BatteryMeter.c b/BatteryMeter.c index 0ae2834c..733298a1 100644 --- a/BatteryMeter.c +++ b/BatteryMeter.c @@ -20,7 +20,7 @@ This meter written by Ian P. Hands (iphands@gmail.com, ihands@redhat.com). #include <stdlib.h> -int BatteryMeter_attributes[] = { +static const int BatteryMeter_attributes[] = { BATTERY }; |