From: Michael Stapelberg Date: Tue, 1 Sep 2009 21:43:24 +0000 (+0200) Subject: Fix compilation warning X-Git-Tag: 2.0~35 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1c0e5ea560869092a7779c9d5984ded6848794ce;p=i3%2Fi3status Fix compilation warning --- 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;