solve warning: incompatible implicit declaration...