SDL_GetPowerInfo_Hardwired is static in SDL_power.c
authorOzkan Sezer <sezeroz@gmail.com>
Sun, 14 Oct 2018 23:55:02 +0300
changeset 123285ff0dd9cbb69
parent 12327 bec6af34f781
child 12329 b7243b9f8fd5
SDL_GetPowerInfo_Hardwired is static in SDL_power.c

.. therefore, comment out its extern declaration in SDL_syspower.h.
src/power/SDL_syspower.h
     1.1 --- a/src/power/SDL_syspower.h	Sun Oct 14 23:50:50 2018 +0300
     1.2 +++ b/src/power/SDL_syspower.h	Sun Oct 14 23:55:02 2018 +0300
     1.3 @@ -40,7 +40,9 @@
     1.4  SDL_bool SDL_GetPowerInfo_PSP(SDL_PowerState *, int *, int *);
     1.5  SDL_bool SDL_GetPowerInfo_WinRT(SDL_PowerState *, int *, int *);
     1.6  SDL_bool SDL_GetPowerInfo_Emscripten(SDL_PowerState *, int *, int *);
     1.7 -SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *);
     1.8 +
     1.9 +/* this one is static in SDL_power.c */
    1.10 +/* SDL_bool SDL_GetPowerInfo_Hardwired(SDL_PowerState *, int *, int *);*/
    1.11  
    1.12  #endif /* SDL_syspower_h_ */
    1.13