From 703361e47dca8b1800b777c3877b1b7785e8cd29 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 14 Oct 2018 23:55:02 +0300 Subject: [PATCH] SDL_GetPowerInfo_Hardwired is static in SDL_power.c .. therefore, comment out its extern declaration in SDL_syspower.h. --- src/power/SDL_syspower.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/power/SDL_syspower.h b/src/power/SDL_syspower.h index a9bf70cfc..afd6268fb 100644 --- a/src/power/SDL_syspower.h +++ b/src/power/SDL_syspower.h @@ -40,7 +40,9 @@ SDL_bool SDL_GetPowerInfo_Android(SDL_PowerState *, int *, int *); SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *); SDL_bool SDL_GetPowerInfo_WinRT(SDL_PowerState *, int *, int *); SDL_bool SDL_GetPowerInfo_Emscripten(SDL_PowerState *, int *, int *); -SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *); + +/* this one is static in SDL_power.c */ +/* SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *);*/ #endif /* SDL_syspower_h_ */