Make resizeline() and lineptr() static and give them prototypes.