"No previous prototype for function" warning警告错误解决
(转自:http://blog.sina.com.cn/s/blog_af73e7a70101bh4m.html,感谢作者)在编译《iphone开发秘籍》第八章的秘诀一的代码时碰到以下警告错误:CGPointrandomPoint(){inthalf=32;intfreesize=240-2*half;returnCGPointMake(random()%freesize+half,random(