textio: getenv() comes from <stdlib.h> remove declaration

This commit is contained in:
Darryl L. Miles 2025-01-31 17:24:03 +00:00 committed by Tim Edwards
parent 934fe32436
commit 1166a56cff
1 changed files with 1 additions and 1 deletions

View File

@ -22,6 +22,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h> /* getenv() */
#include <string.h>
#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");