]> git.sur5r.net Git - i3/i3status/commitdiff
fix invalid forward declaration
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 2 Apr 2015 07:06:07 +0000 (09:06 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 2 Apr 2015 07:06:07 +0000 (09:06 +0200)
include/i3status.h

index a61d966e69f2a3cf0df9aa9afb4f3d2e975b57a5..44046d935239a32a54adc461d93c441229aba920 100644 (file)
@@ -185,7 +185,7 @@ void print_disk_info(yajl_gen json_gen, char *buffer, const char *path, const ch
 void print_battery_info(yajl_gen json_gen, char *buffer, int number, const char *path, const char *format, const char *format_down, const char *status_chr, const char *status_bat, const char *status_full, int low_threshold, char *threshold_type, bool last_full_capacity, bool integer_battery_capacity, bool hide_seconds);
 void print_time(yajl_gen json_gen, char *buffer, const char *title, const char *format, const char *tz, time_t t);
 void print_ddate(yajl_gen json_gen, char *buffer, const char *format, time_t t);
-const char *get_ip_addr();
+const char *get_ip_addr(const char *interface);
 void print_wireless_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down);
 void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const char *pidfile, const char *format);
 void print_path_exists(yajl_gen json_gen, char *buffer, const char *title, const char *path, const char *format);