projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5321d69
)
battery: mark dict_get_double as static
author
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:37:04 +0000
(23:37 +0100)
committer
Ruben Kerkhof
<ruben@rubenkerkhof.com>
Mon, 29 Feb 2016 22:37:04 +0000
(23:37 +0100)
src/battery.c
patch
|
blob
|
history
diff --git
a/src/battery.c
b/src/battery.c
index
4178d8b
..
d921484
100644
(file)
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-111,7
+111,7
@@
static void battery_submit (const char *plugin_instance, const char *type, doubl
} /* void battery_submit */
#if HAVE_IOKIT_PS_IOPOWERSOURCES_H || HAVE_IOKIT_IOKITLIB_H
-double dict_get_double (CFDictionaryRef dict, char *key_string)
+
static
double dict_get_double (CFDictionaryRef dict, char *key_string)
{
double val_double;
long long val_int;