summaryrefslogtreecommitdiffstats
path: root/dragonflybsd
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-25 14:03:55 +0200
committerChristian Göttsche <cgzones@googlemail.com>2020-09-25 17:20:35 +0200
commit4e282eb845c68d70093dda2c078604d52e8fee87 (patch)
tree806c055d99b861894d801d5c4caa8cd5fe9951fa /dragonflybsd
parent18b1e9fba95ce50d47c2199920f6727f26de4063 (diff)
Add -Wmissing-prototypes compiler warning
Diffstat (limited to 'dragonflybsd')
-rw-r--r--dragonflybsd/Battery.c3
-rw-r--r--dragonflybsd/Battery.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/dragonflybsd/Battery.c b/dragonflybsd/Battery.c
index 58960429..bb1a575a 100644
--- a/dragonflybsd/Battery.c
+++ b/dragonflybsd/Battery.c
@@ -6,7 +6,8 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
-#include "BatteryMeter.h"
+#include "Battery.h"
+
#include <math.h>
#include <sys/sysctl.h>
diff --git a/dragonflybsd/Battery.h b/dragonflybsd/Battery.h
index f764a2dc..2e42351b 100644
--- a/dragonflybsd/Battery.h
+++ b/dragonflybsd/Battery.h
@@ -8,6 +8,8 @@ Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/
+#include "BatteryMeter.h"
+
void Battery_getData(double* level, ACPresence* isOnAC);
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy