From 6f705c20decfca58aa1cd2e6c459aae01f50b318 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Tue, 7 Oct 2008 11:54:04 +0200 Subject: Make runwatches work again --- wmiistatus.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'wmiistatus.h') 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); -- cgit v1.2.3