From 06f17d7d69f04d25b8d618b1d09364706b47ac82 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Mon, 29 Feb 2016 23:37:04 +0100 Subject: [PATCH] battery: mark dict_get_double as static --- src/battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.11.0