/*
- * Copyright (C) 2010-2014 jeanfi@gmail.com
+ * Copyright (C) 2010-2016 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
measures_len);
}
-static double get_usage()
+static double get_usage(void)
{
glibtop_cpu cpu;
unsigned long int used, dt;
return cpu_rate;
}
-static double get_mem_free()
+static double get_mem_free(void)
{
glibtop_mem mem;
double v;
psensor_set_current_value(s, v);
}
-void mem_free_sensor_update(struct psensor *s)
+static void mem_free_sensor_update(struct psensor *s)
{
double v;