diff options
author | Damien Miller <djm@mindrot.org> | 2004-01-21 17:07:16 +1100 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2004-01-21 17:07:16 +1100 |
commit | f4da3bb6cadcb26fd6edd19887b5187c13724255 (patch) | |
tree | 5dafba6910263101b9d869bd84591a125aea90d2 /openbsd-compat/openbsd-compat.h | |
parent | e4f5a82d6e4748a99fef33a08986392742cc27c8 (diff) |
- deraadt@cvs.openbsd.org 2004/01/11 21:55:06
[sshpty.c]
for pty opening, only use the openpty() path. the other stuff only needs
to be in openssh-p; markus ok
- (djm) [openbsd-compat/bsd-openpty.c] Rework old sshpty.c code into an
openpty() replacement
Diffstat (limited to 'openbsd-compat/openbsd-compat.h')
-rw-r--r-- | openbsd-compat/openbsd-compat.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/openbsd-compat/openbsd-compat.h b/openbsd-compat/openbsd-compat.h index 852948c54..6be1bcda4 100644 --- a/openbsd-compat/openbsd-compat.h +++ b/openbsd-compat/openbsd-compat.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $Id: openbsd-compat.h,v 1.24 2003/08/29 16:59:52 mouring Exp $ */ | 1 | /* $Id: openbsd-compat.h,v 1.25 2004/01/21 06:07:23 djm Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. | 4 | * Copyright (c) 1999-2003 Damien Miller. All rights reserved. |
@@ -138,8 +138,9 @@ unsigned int arc4random(void); | |||
138 | void arc4random_stir(void); | 138 | void arc4random_stir(void); |
139 | #endif /* !HAVE_ARC4RANDOM */ | 139 | #endif /* !HAVE_ARC4RANDOM */ |
140 | 140 | ||
141 | 141 | #ifndef HAVE_OPENPTY | |
142 | 142 | int openpty(int *, int *, char *, struct termios *, struct winsize *); | |
143 | #endif /* HAVE_OPENPTY */ | ||
143 | 144 | ||
144 | /* #include <sys/types.h> XXX needed? For size_t */ | 145 | /* #include <sys/types.h> XXX needed? For size_t */ |
145 | 146 | ||