[CONSRV] Tidy up lineinput.c by moving the History* helper prototypes to a suitable...