summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/commands.c
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-29 14:16:17 +0000
committermarkm <markm@FreeBSD.org>2001-08-29 14:16:17 +0000
commit5987cca2b86151d430e62288a0608ec25c84c045 (patch)
tree2704c88e81d43025eb2e9acbf5530ba5d0ec8f63 /usr.bin/telnet/commands.c
parent92c57599167493c3bef125d0aa3416a4f3abf082 (diff)
downloadFreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.zip
FreeBSD-src-5987cca2b86151d430e62288a0608ec25c84c045.tar.gz
Manually unifdef(1) CRAY, UNICOS, hpux and sun uselsess code.
Diffstat (limited to 'usr.bin/telnet/commands.c')
-rw-r--r--usr.bin/telnet/commands.c37
1 files changed, 0 insertions, 37 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c
index 468d708..6cba9c3 100644
--- a/usr.bin/telnet/commands.c
+++ b/usr.bin/telnet/commands.c
@@ -40,18 +40,12 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
#if defined(unix)
#include <sys/param.h>
#include <sys/un.h>
-#if defined(CRAY) || defined(sysV88)
-#include <sys/types.h>
-#endif
#include <sys/file.h>
#else
#include <sys/types.h>
#endif /* defined(unix) */
#include <sys/socket.h>
#include <netinet/in.h>
-#ifdef CRAY
-#include <fcntl.h>
-#endif /* CRAY */
#include <string.h>
#include <signal.h>
@@ -74,12 +68,10 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
#include "defines.h"
#include "types.h"
-#if !defined(CRAY) && !defined(sysV88)
#include <netinet/in_systm.h>
# if (defined(vax) || defined(tahoe) || defined(hp300)) && !defined(ultrix)
# include <machine/endian.h>
# endif /* vax */
-#endif /* !defined(CRAY) && !defined(sysV88) */
#include <netinet/ip.h>
#include <netinet/ip6.h>
@@ -886,35 +878,6 @@ static struct setlist Setlist[] = {
{ 0 }
};
-#if defined(CRAY) && !defined(__STDC__)
-/* Work around compiler bug in pcc 4.1.5 */
- void
-_setlist_init()
-{
-#ifndef KLUDGELINEMODE
-#define N 5
-#else
-#define N 6
-#endif
- Setlist[N+0].charp = &termFlushChar;
- Setlist[N+1].charp = &termIntChar;
- Setlist[N+2].charp = &termQuitChar;
- Setlist[N+3].charp = &termEofChar;
- Setlist[N+6].charp = &termEraseChar;
- Setlist[N+7].charp = &termKillChar;
- Setlist[N+8].charp = &termLiteralNextChar;
- Setlist[N+9].charp = &termSuspChar;
- Setlist[N+10].charp = &termRprntChar;
- Setlist[N+11].charp = &termWerasChar;
- Setlist[N+12].charp = &termStartChar;
- Setlist[N+13].charp = &termStopChar;
- Setlist[N+14].charp = &termForw1Char;
- Setlist[N+15].charp = &termForw2Char;
- Setlist[N+16].charp = &termAytChar;
-#undef N
-}
-#endif /* defined(CRAY) && !defined(__STDC__) */
-
static struct setlist *
getset(name)
char *name;
OpenPOWER on IntegriCloud