fix compiler warnings (implicit declaration)