projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
network plugin: Fix compile ifndef HAVE_GCRYPT_H
[collectd.git]
/
src
/
battery.c
diff --git
a/src/battery.c
b/src/battery.c
index
d142982
..
272193e
100644
(file)
--- a/
src/battery.c
+++ b/
src/battery.c
@@
-314,8
+314,8
@@
static void get_via_generic_iokit (double *ret_charge,
#endif /* HAVE_IOKIT_IOKITLIB_H */
#if KERNEL_LINUX
#endif /* HAVE_IOKIT_IOKITLIB_H */
#if KERNEL_LINUX
-static int battery_read_acpi (const char
*dir, const char *name
,
-
void
*user_data)
+static int battery_read_acpi (const char
__attribute__((unused)) *dir
,
+
const char *name, void __attribute__((unused))
*user_data)
{
double current = INVALID_VALUE;
double voltage = INVALID_VALUE;
{
double current = INVALID_VALUE;
double voltage = INVALID_VALUE;