Code

Fix build on Solaris 10 i386 part 2
[collectd.git] / src / battery.c
index 4178d8b5145f2b728e5c7c949d72ebd8d126a89e..d921484dc74e410191aee2fbc08d37dddfc1db52 100644 (file)
@@ -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;