Source: nn
Version: 6.7.3-14
Severity: normal
Tags: patch

Dear Maintainer,

>From 38b6313a8f4d991b728260b6c59eb6d97b37a9fb Mon Sep 17 00:00:00 2001
>From: Bjarni Ingi Gislason <[email protected]>
>Date: Wed, 24 Mar 2021 19:54:26 +0000
>Subject: [PATCH] term.c: comment out a redeclaration of "getenv()"

Signed-off-by: Bjarni Ingi Gislason <[email protected]>
---
 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
 
-- 
2.30.2



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.19-1 (SMP w/2 CPU threads)
Locale: LANG=is_IS.iso88591, LC_CTYPE=is_IS.iso88591 (charmap=ISO-8859-1), 
LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

-- debconf information excluded

-- 
Bjarni I. Gislason

Reply via email to