$NetBSD: patch-ah,v 1.1 2010/04/29 00:17:14 dholland Exp $ --- moonphas.c~ 2000-02-09 16:06:23.000000000 +0000 +++ moonphas.c @@ -526,7 +526,7 @@ read_moonfile(year) line = 0; mf_date_style = date_style; /* unless overridden by "opt -[AE]" */ - for (nrec = 1; getline(fp, lbuf, &line); nrec++) { + for (nrec = 1; get_line(fp, lbuf, &line); nrec++) { /* special check for "opt -[AE]" line */ n = loadwords(words, lbuf);