diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:54:04 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 11:54:04 +0200 |
commit | 6f705c20decfca58aa1cd2e6c459aae01f50b318 (patch) | |
tree | 664c9c61933e3dad6bc7d33703f9fee23cc63afc /wmiistatus.h | |
parent | 7fa8c4b9a954647db79f79b78b33d79c00acd250 (diff) |
Make runwatches work again
Diffstat (limited to 'wmiistatus.h')
-rw-r--r-- | wmiistatus.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/wmiistatus.h b/wmiistatus.h index 9836dff..e9d4445 100644 --- a/wmiistatus.h +++ b/wmiistatus.h @@ -1,8 +1,5 @@ #define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0) -static char output[512]; -static bool first_push = true; - typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; static void cleanup_rbar_dir(void); @@ -10,7 +7,6 @@ static void write_to_statusbar(const char *name, const char *message); static void write_error_to_statusbar(const char *message); static void die(const char *fmt, ...); static char *skip_character(char *input, char character, int amount); -static void push_part(const char *input, const int n); static char *get_battery_info(void); static char *get_wireless_info(void); static char *get_ip_address(const char *interface); |