X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fbattery.c;h=d921484dc74e410191aee2fbc08d37dddfc1db52;hb=60451f81f174fc283345ade43d95857c56d17e88;hp=4178d8b5145f2b728e5c7c949d72ebd8d126a89e;hpb=171d6a4bd5e05b56be83860701d35bfe1373d6a7;p=collectd.git diff --git a/src/battery.c b/src/battery.c index 4178d8b5..d921484d 100644 --- 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;