freebsd-ports/net/ztelnet/files/patch-am

35 lines
802 B
Plaintext
Raw Normal View History

diff -uNr --exclude=*.orig work.old/ztelnet/telnet/externs.h work/ztelnet/telnet/externs.h
--- work.old/ztelnet/telnet/externs.h Wed Sep 20 07:52:29 1995
+++ work/ztelnet/telnet/externs.h Tue Jun 20 22:58:32 2000
@@ -35,18 +35,14 @@
#include <sys/filio.h>
#endif
#ifdef USE_TERMIO
-#ifndef BYPMS
# ifndef VINTR
-#endif /* PMS */
# ifdef SYSV_TERMIO
# include <sys/termio.h>
# else
# include <sys/termios.h>
# define termio termios
# endif
-#ifndef BYPMS
# endif
-#endif /* PMS */
#endif
#if defined(NO_CC_T) || !defined(USE_TERMIO)
# if !defined(USE_TERMIO)
@@ -315,11 +311,7 @@
# else
-#ifdef BYPMS
-extern struct termios new_tc;
-#else
extern struct termio new_tc;
-#endif /* PMS */
# define termEofChar new_tc.c_cc[VEOF]
# define termEraseChar new_tc.c_cc[VERASE]