mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
textio: getenv() comes from <stdlib.h> remove declaration
This commit is contained in:
committed by
Tim Edwards
parent
934fe32436
commit
1166a56cff
+1
-1
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user