textio: getenv() comes from <stdlib.h> remove declaration
This commit is contained in:
parent
934fe32436
commit
1166a56cff
|
|
@ -22,6 +22,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header: /usr/cvsroot/magic-8.0/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdlib.h> /* getenv() */
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#ifndef SYSV
|
#ifndef SYSV
|
||||||
|
|
@ -357,7 +358,6 @@ TxUseMore(void)
|
||||||
int moreRunning = TRUE;
|
int moreRunning = TRUE;
|
||||||
static int moreMsg = FALSE;
|
static int moreMsg = FALSE;
|
||||||
const char *pagername, *pagerpath, *useenv = NULL;
|
const char *pagername, *pagerpath, *useenv = NULL;
|
||||||
extern char *getenv();
|
|
||||||
struct stat buf;
|
struct stat buf;
|
||||||
|
|
||||||
ASSERT(TxMoreFile == NULL, "TxUseMore");
|
ASSERT(TxMoreFile == NULL, "TxUseMore");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue