Subject: 2000/1/22 build error in domestic/usr.bin/telnet
To: None <>
From: Dave Huang <>
List: current-users
Date: 01/22/2000 17:51:58
Since the recent change to errno.h, the build of domestic/usr.bin/telnet
fails with:

cc -O2 -pipe -mcpu=ev56 -Wall -Wstrict-prototypes -Wmissing-prototypes
-DENV_HACK -I/us r/src.local/usr.bin/telnet -DAUTHENTICATION
-I/usr/src.local/usr.bin/telnet/../../lib -c
cc1: warnings being treated as errors
In file included from
/usr/src.local/usr.bin/telnet/../../domestic/usr.bin/telnet/externs.h:118: warning: function declaration isn't a prototype

Dunno if it's the best thing to do, but this works :)

--- /usr/src/domestic/usr.bin/telnet/externs.h  Mon Jul 12 06:03:18 1999
+++ externs.h   Sat Jan 22 17:42:31 2000
@@ -114,10 +114,6 @@

 #define        SUBBUFSIZE      256

-#ifndef CRAY
-extern int errno;              /* outside this world */
-#endif /* !CRAY */
 #include <sys/cdefs.h>
 #define P __P

Name: Dave Huang     |   Mammal, mammal / their names are called /
INet:   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++