Adjust declarations; make the return type of lb_process_next_char int.