$NetBSD: patch-be,v 1.3 2011/06/14 13:13:14 wiz Exp $ --- global.c.orig 2005-04-19 22:26:50.000000000 +0000 +++ global.c @@ -81,7 +81,6 @@ int who_am_i; int dont_write_console = 0; int mail_errors_mode = 2; -extern int errno; extern char *getlogin(), *getenv(); @@ -1312,7 +1311,7 @@ fgetstr(FILE * f) */ int -getline(char *line, int max) +nngetline(char *line, int max) { if (fgets(line, max, stdin) == NULL) return 0;