From 1166a56cff9aee63328dac840a8163cb458d6cfe Mon Sep 17 00:00:00 2001 From: "Darryl L. Miles" Date: Fri, 31 Jan 2025 17:24:03 +0000 Subject: [PATCH] textio: getenv() comes from remove declaration --- textio/txOutput.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/textio/txOutput.c b/textio/txOutput.c index 17fe0cdd..79cd0981 100644 --- a/textio/txOutput.c +++ b/textio/txOutput.c @@ -22,6 +22,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/ #include #include +#include /* getenv() */ #include #ifndef SYSV @@ -357,7 +358,6 @@ TxUseMore(void) int moreRunning = TRUE; static int moreMsg = FALSE; const char *pagername, *pagerpath, *useenv = NULL; - extern char *getenv(); struct stat buf; ASSERT(TxMoreFile == NULL, "TxUseMore");