#985851 term.c: comment out a redeclaration of "getenv()"

Package:
src:nn
Source:
nn
Submitter:
Bjarni Ingi Gislason
Date:
2021-03-24 23:15:04 UTC
Severity:
normal
Tags:
#985851#5
Date:
2021-03-24 23:11:07 UTC
From:
To:
Dear Maintainer,
---
 term.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/term.c b/term.c
index 4bbafec..2cee711 100644
--- a/term.c
+++ b/term.c
@@ -240,7 +240,7 @@ static int     *nonsp;		/* number of non-space characters on line */

 #ifdef TERM_DEBUG
 static char    *term_debug = NULL;
-extern char    *getenv();
+/*extern char    *getenv();*/ /* Is declared in <stdlib.h> */
 #define curxy_nonsp	(curxy_l < 0 ? -1 : nonsp[curxy_l])
 #endif