SDL_GetPowerInfo_Hardwired is static in SDL_power.c .. therefore, comment out its extern declaration in SDL_syspower.h.