Skip to content

Commit

Permalink
SDL_GetPowerInfo_Hardwired is static in SDL_power.c
Browse files Browse the repository at this point in the history
.. therefore, comment out its extern declaration in SDL_syspower.h.
  • Loading branch information
sezero committed Oct 14, 2018
1 parent cbacb0f commit 703361e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/power/SDL_syspower.h
Expand Up @@ -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_ */

Expand Down

0 comments on commit 703361e

Please sign in to comment.