From 329011bb982b7dda02e6901173e6fc34bcaa2645 Mon Sep 17 00:00:00 2001 From: Nathan Scott Date: Thu, 19 Nov 2020 12:00:56 +1100 Subject: [PATCH] Add missing OpenBSD battery function declaration --- openbsd/Platform.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openbsd/Platform.h b/openbsd/Platform.h index 9d2701dc..a624bb7b 100644 --- a/openbsd/Platform.h +++ b/openbsd/Platform.h @@ -57,4 +57,6 @@ bool Platform_getNetworkIO(unsigned long int* bytesReceived, unsigned long int* bytesTransmitted, unsigned long int* packetsTransmitted); +void Platform_getBattery(double* level, ACPresence* isOnAC); + #endif