diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 13:41:10 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-07 13:41:10 +0200 |
commit | a49ff50578c3527634ff7cad11c8a2878403fde8 (patch) | |
tree | 2c35210000d13fa3b8cd0c593e97da365cf06422 /wmiistatus.h | |
parent | 7c79d735d87285df04dd46832da2c397421e2129 (diff) |
Make everything configurable
Diffstat (limited to 'wmiistatus.h')
-rw-r--r-- | wmiistatus.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wmiistatus.h b/wmiistatus.h index e9d4445..e026e64 100644 --- a/wmiistatus.h +++ b/wmiistatus.h @@ -2,13 +2,17 @@ typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; +#ifdef _IS_WMIISTATUS_C +static char *concat(const char *str1, const char *str2); static void cleanup_rbar_dir(void); 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 char *get_battery_info(void); static char *get_wireless_info(void); static char *get_ip_address(const char *interface); static char *get_eth_info(void); static bool process_runs(const char *path); +#endif + +void die(const char *fmt, ...); |