aboutsummaryrefslogtreecommitdiff
path: root/bat_tray.c
diff options
context:
space:
mode:
authorDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 18:01:53 +1200
committerDavid Phillips <dbphillipsnz@gmail.com>2015-09-01 18:01:53 +1200
commit93b76533735fc1d9fd666787acd65db8507d9119 (patch)
tree05f9cfe409f172be706dfd8625145c5d2bb7da54 /bat_tray.c
parenta3e613bae93526edebb6546c6c9d02d6587145f3 (diff)
downloadparamano-93b76533735fc1d9fd666787acd65db8507d9119.tar.xz
Enforced staticness
Diffstat (limited to 'bat_tray.c')
-rw-r--r--bat_tray.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bat_tray.c b/bat_tray.c
index 3480a75..8e9997e 100644
--- a/bat_tray.c
+++ b/bat_tray.c
@@ -21,8 +21,8 @@
static GtkStatusIcon* tray;
static char tooltip_text[1024];
-int bat_num; // Shortcoming: we only detect one battery
-char *CHARGE_VALUE_PATH, *CHARGE_STATE_PATH;
+static int bat_num; // Shortcoming: we only detect one battery
+static char *CHARGE_VALUE_PATH, *CHARGE_STATE_PATH;
/***********************************************************************
* Return the battery level percentage