diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-04 19:32:35 +0200 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2008-10-04 19:32:35 +0200 |
commit | e31a85eb3b9d331d73254ceb2d6156cc8e66c40a (patch) | |
tree | 436738c1d8a3e50551d45182523599430a337ebc /wmiistatus.h | |
parent | e68449ee1db529d0ef7b88fb0fba15263445b574 (diff) |
Make some formats/paths configurable, add initscript
Diffstat (limited to 'wmiistatus.h')
-rw-r--r-- | wmiistatus.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wmiistatus.h b/wmiistatus.h index 13ec2c7..1e7f59f 100644 --- a/wmiistatus.h +++ b/wmiistatus.h @@ -6,11 +6,11 @@ static bool first_push = true; typedef enum { CS_DISCHARGING, CS_CHARGING, CS_FULL } charging_status_t; static void write_to_statusbar(const char *message); -static void die(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); static char *get_eth_info(void); -bool process_runs(const char *path); +static bool process_runs(const char *path); |