Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Mark unused parameters, fix compiler warnings
[slstatus.git]
/
config.def.h
diff --git
a/config.def.h
b/config.def.h
index
00796c6
..
9dcd5d6
100644
(file)
--- a/
config.def.h
+++ b/
config.def.h
@@
-1,7
+1,7
@@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
-static const int interval = 1000;
+static const
unsigned
int interval = 1000;
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
/* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a";
@@
-13,7
+13,9
@@
static const char unknown_str[] = "n/a";
* function description argument (example)
*
* battery_perc battery percentage battery name (BAT0)
* function description argument (example)
*
* battery_perc battery percentage battery name (BAT0)
+ * NULL on OpenBSD
* battery_state battery charging state battery name (BAT0)
* battery_state battery charging state battery name (BAT0)
+ * NULL on OpenBSD
* cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
* datetime date and time format string (%F %T)
* cpu_perc cpu usage in percent NULL
* cpu_freq cpu frequency in MHz NULL
* datetime date and time format string (%F %T)