summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stapelberg <michael@stapelberg.de>2009-09-01 23:43:24 +0200
committerMichael Stapelberg <michael@stapelberg.de>2009-09-01 23:43:24 +0200
commit1c0e5ea560869092a7779c9d5984ded6848794ce (patch)
tree0b7540c65a52ea331bebd2268774d78446884c42
parente565e313f79c78eb1be27ce6ea789011105cf549 (diff)
Fix compilation warning
-rw-r--r--i3status.c2
-rw-r--r--i3status.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/i3status.c b/i3status.c
index 37e6639..8b6ca72 100644
--- a/i3status.c
+++ b/i3status.c
@@ -63,7 +63,7 @@ int general_socket;
const char *wlan_interface = NULL;
const char *eth_interface = NULL;
-const char *wmii_path = NULL;
+char *wmii_path = NULL;
const char *time_format = NULL;
bool use_colors = false;
bool get_ethspeed = false;
diff --git a/i3status.h b/i3status.h
index 81a52a0..aa7f20e 100644
--- a/i3status.h
+++ b/i3status.h
@@ -91,7 +91,7 @@ extern int highest_order;
extern const char *wlan_interface;
extern const char *eth_interface;
-extern const char *wmii_path;
+extern char *wmii_path;
extern const char *time_format;
extern bool use_colors;
extern bool get_ethspeed;