]> git.sur5r.net Git - i3/i3status/blobdiff - wmiistatus.h
Make everything configurable
[i3/i3status] / wmiistatus.h
index e9d4445923267b4da93dce77a0331499a420fa9b..e026e64ae939842709ac2dd16738fc49f4f2a755 100644 (file)
@@ -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, ...);