Unifdef(1) the crypto telnet sources.
This commit is contained in:
parent
4141227a94
commit
4a63284e80
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=103957
@ -75,7 +75,7 @@ static const char sccsid[] = "@(#)commands.c 8.4 (Berkeley) 5/30/95";
|
|||||||
|
|
||||||
#ifndef MAXHOSTNAMELEN
|
#ifndef MAXHOSTNAMELEN
|
||||||
#define MAXHOSTNAMELEN 256
|
#define MAXHOSTNAMELEN 256
|
||||||
#endif MAXHOSTNAMELEN
|
#endif
|
||||||
|
|
||||||
typedef int (*intrtn_t)(int, char **);
|
typedef int (*intrtn_t)(int, char **);
|
||||||
|
|
||||||
|
@ -55,10 +55,6 @@ static const char sccsid[] = "@(#)main.c 8.3 (Berkeley) 5/30/95";
|
|||||||
#define OPTS_FORWARD_CREDS 0x00000002
|
#define OPTS_FORWARD_CREDS 0x00000002
|
||||||
#define OPTS_FORWARDABLE_CREDS 0x00000001
|
#define OPTS_FORWARDABLE_CREDS 0x00000001
|
||||||
|
|
||||||
#if 0
|
|
||||||
#define FORWARD
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
#if defined(IPSEC) && defined(IPSEC_POLICY_IPSEC)
|
||||||
char *ipsec_policy_in = NULL;
|
char *ipsec_policy_in = NULL;
|
||||||
char *ipsec_policy_out = NULL;
|
char *ipsec_policy_out = NULL;
|
||||||
|
@ -44,6 +44,7 @@ static const char sccsid[] = "@(#)network.c 8.2 (Berkeley) 12/15/93";
|
|||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
|
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include <arpa/telnet.h>
|
#include <arpa/telnet.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -46,7 +46,7 @@ static const char sccsid[] = "@(#)sys_bsd.c 8.4 (Berkeley) 5/30/95";
|
|||||||
* (at least between 4.x and dos) which is used in telnet.c.
|
* (at least between 4.x and dos) which is used in telnet.c.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/param.h>
|
||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
@ -654,9 +654,9 @@ TerminalNewMode(int f)
|
|||||||
(void) signal(SIGTSTP, SIG_DFL);
|
(void) signal(SIGTSTP, SIG_DFL);
|
||||||
# ifndef SOLARIS
|
# ifndef SOLARIS
|
||||||
(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
|
(void) sigsetmask(sigblock(0) & ~(1<<(SIGTSTP-1)));
|
||||||
# else SOLARIS
|
# else /* SOLARIS */
|
||||||
(void) sigrelse(SIGTSTP);
|
(void) sigrelse(SIGTSTP);
|
||||||
# endif SOLARIS
|
# endif /* SOLARIS */
|
||||||
#endif /* SIGTSTP */
|
#endif /* SIGTSTP */
|
||||||
#ifndef USE_TERMIO
|
#ifndef USE_TERMIO
|
||||||
ltc = oltc;
|
ltc = oltc;
|
||||||
|
@ -42,6 +42,8 @@ static const char sccsid[] = "@(#)terminal.c 8.2 (Berkeley) 2/16/95";
|
|||||||
#include <arpa/telnet.h>
|
#include <arpa/telnet.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "ring.h"
|
#include "ring.h"
|
||||||
|
|
||||||
#include "externs.h"
|
#include "externs.h"
|
||||||
|
@ -47,6 +47,7 @@ static const char sccsid[] = "@(#)utilities.c 8.3 (Berkeley) 5/30/95";
|
|||||||
#include <sys/socket.h>
|
#include <sys/socket.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
|
#include <stdlib.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
|
||||||
#include "general.h"
|
#include "general.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user