summaryrefslogtreecommitdiff
path: root/include/i3status.h
diff options
context:
space:
mode:
authorM. Kory Woods <kory@virlo.net>2013-07-07 10:54:50 -0500
committerMichael Stapelberg <michael@stapelberg.de>2013-07-09 23:22:26 +0200
commit41be50a983e4c7313ef63b4b5a7b2db30575c9ba (patch)
treed5d412007fc77e9cb0707eab1c36f5dd6d29de77 /include/i3status.h
parentcf417ffeb1423024d109da57ba71796b42ab5ce3 (diff)
allow load to be a float
Diffstat (limited to 'include/i3status.h')
-rw-r--r--include/i3status.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/i3status.h b/include/i3status.h
index 8185d38..5d8d27b 100644
--- a/include/i3status.h
+++ b/include/i3status.h
@@ -152,7 +152,7 @@ void print_run_watch(yajl_gen json_gen, char *buffer, const char *title, const c
void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const char *path, const char *format, int);
void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format);
void print_eth_info(yajl_gen json_gen, char *buffer, const char *interface, const char *format_up, const char *format_down);
-void print_load(yajl_gen json_gen, char *buffer, const char *format, const int max_threshold);
+void print_load(yajl_gen json_gen, char *buffer, const char *format, const float max_threshold);
void print_volume(yajl_gen json_gen, char *buffer, const char *fmt, const char *device, const char *mixer, int mixer_idx);
bool process_runs(const char *path);