projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0dce97a
)
battery plugin: constify
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 11 Mar 2016 18:50:04 +0000
(19:50 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Fri, 11 Mar 2016 18:50:04 +0000
(19:50 +0100)
src/battery.c
patch
|
blob
|
history
diff --git
a/src/battery.c
b/src/battery.c
index
c4c050d
..
b87739a
100644
(file)
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-143,7
+143,7
@@
static void submit_capacity (char const *plugin_instance, /* {{{ */
} /* }}} void submit_capacity */
#if HAVE_IOKIT_PS_IOPOWERSOURCES_H || HAVE_IOKIT_IOKITLIB_H
-static double dict_get_double (CFDictionaryRef dict, char *key_string) /* {{{ */
+static double dict_get_double (CFDictionaryRef dict, c
onst c
har *key_string) /* {{{ */
{
double val_double;
long long val_int;