Fix return types and mark a function static
Fix return types and mark a function static

tintou/evolution-data-server,gcampax/evolution-data-server,matzipan/evolution-data-server,matzipan/evolution-data-server,Distrotech/evolution-data-server,gcampax/evolution-data-server,matzipan/evolution-data-server,tintou/evolution-data-server,Distrotech/evolution-data-server,matzipan/evolution-data-server,Distrotech/evolution-data-server,gcampax/evolution-data-server,Distrotech/evolution-data-server,matzipan/evolution-data-server,tintou/evolution-data-server,Distrotech/evolution-data-server,gcampax/evolution-data-server,tintou/evolution-data-server