summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-01-13 19:14:10 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-01-13 19:14:10 +0000
commit80417d9af782f1d5b4fe81379ddaa55ca87532aa (patch)
treef382a7b877be72715798b08ec7eb7d5dcd1ee848 /usr.bin/ssh/ssh.c
parent4c3ae8c54e35c796446ef3ab7fa045582f0c9e47 (diff)
move callback to headerfile
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r--usr.bin/ssh/ssh.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c
index 41af8bedf9d..0f7352df195 100644
--- a/usr.bin/ssh/ssh.c
+++ b/usr.bin/ssh/ssh.c
@@ -39,7 +39,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.80 2001/01/13 18:32:50 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.81 2001/01/13 19:14:09 markus Exp $");
#include <openssl/evp.h>
#include <openssl/dsa.h>
@@ -59,6 +59,7 @@ RCSID("$OpenBSD: ssh.c,v 1.80 2001/01/13 18:32:50 markus Exp $");
#include "key.h"
#include "authfd.h"
#include "authfile.h"
+#include "clientloop.h"
extern char *__progname;
@@ -889,8 +890,6 @@ ssh_session(void)
return client_loop(have_tty, tty_flag ? options.escape_char : -1, 0);
}
-extern void client_set_session_ident(int id);
-
void
ssh_session2_callback(int id, void *arg)
{
@@ -957,7 +956,7 @@ ssh_session2_callback(int id, void *arg)
done:
/* register different callback, etc. XXX */
packet_set_interactive(interactive);
- client_set_session_ident(id);
+ clientloop_set_session_ident(id);
}
int