Two reasons I can think of:
In reply to Re: Why does eof have a prototype? by ikegami in thread Why does eof have a prototype? by LanX