diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-25 14:03:55 +0200 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2020-09-25 17:20:35 +0200 |
commit | 4e282eb845c68d70093dda2c078604d52e8fee87 (patch) | |
tree | 806c055d99b861894d801d5c4caa8cd5fe9951fa /dragonflybsd | |
parent | 18b1e9fba95ce50d47c2199920f6727f26de4063 (diff) |
Add -Wmissing-prototypes compiler warning
Diffstat (limited to 'dragonflybsd')
-rw-r--r-- | dragonflybsd/Battery.c | 3 | ||||
-rw-r--r-- | dragonflybsd/Battery.h | 2 |
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 |