bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] telnetd: Fix multiple definition of 'not42' (gcc 10)


From: Tim Rühsen
Subject: [PATCH] telnetd: Fix multiple definition of 'not42' (gcc 10)
Date: Sun, 16 Feb 2020 19:42:16 +0100

---
 telnetd/utility.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/telnetd/utility.c b/telnetd/utility.c
index 42f624e7..fe40e3b5 100644
--- a/telnetd/utility.c
+++ b/telnetd/utility.c
@@ -63,7 +63,7 @@ static int ncc;
 static char ptyibuf[BUFSIZ], *ptyip;
 static int pcc;

-int not42;
+extern int not42;

 static int
 readstream (int p, char *ibuf, int bufsize)
--
2.25.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]