From b6656a1525c925bccc2c22b84fea37102ee10bfa Mon Sep 17 00:00:00 2001 From: Aris Adamantiadis Date: Wed, 6 Jan 2010 22:53:10 +0100 Subject: Removed packet_wait for SSH2 --- include/libssh/packet.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/libssh/packet.h b/include/libssh/packet.h index b725dc2e..c58b7ede 100644 --- a/include/libssh/packet.h +++ b/include/libssh/packet.h @@ -34,7 +34,9 @@ int packet_send(ssh_session session); int packet_read(ssh_session session); int packet_translate(ssh_session session); /* TODO: remove it when packet_wait is stripped out from libssh */ +#ifdef WITH_SSH1 int packet_wait(ssh_session session,int type,int blocking); +#endif int packet_flush(ssh_session session, int enforce_blocking); -- cgit