mirror of https://github.com/macssh/macssh.git
Remove lsh includes from ssh2.c
This commit is contained in:
parent
62dc159aa9
commit
0d02f4e407
|
@ -17,13 +17,6 @@
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "lshprefix.h"
|
|
||||||
#include "format.h"
|
|
||||||
#include "io.h"
|
|
||||||
#include "xalloc.h"
|
|
||||||
#include "werror.h"
|
|
||||||
#include "tty.h"
|
|
||||||
|
|
||||||
#include "ssh2.h"
|
#include "ssh2.h"
|
||||||
#include "PasswordDialog.h"
|
#include "PasswordDialog.h"
|
||||||
#include "base64.h"
|
#include "base64.h"
|
||||||
|
@ -36,6 +29,7 @@
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
#include <SIOUX.h>
|
#include <SIOUX.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
#include <errno.h>
|
||||||
#include <sys/errno.h>
|
#include <sys/errno.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <sched.h>
|
#include <sched.h>
|
||||||
|
@ -44,6 +38,10 @@
|
||||||
#include <netinet/in.h>
|
#include <netinet/in.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
|
#include <sys/types.h>
|
||||||
|
#include <sys/socket.h>
|
||||||
|
#include <netdb.h>
|
||||||
|
|
||||||
|
|
||||||
#include "wind.h"
|
#include "wind.h"
|
||||||
#include "rsdefs.h"
|
#include "rsdefs.h"
|
||||||
|
@ -474,6 +472,7 @@ void __msl_assertion_failed(char const *condition, char const *filename, char co
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* tty_getwinsize : replaces tty_getwinsize from liblsh
|
* tty_getwinsize : replaces tty_getwinsize from liblsh
|
||||||
*/
|
*/
|
||||||
|
@ -545,6 +544,7 @@ tcsetattr(int fd, int optional_actions, const struct termios *ios)
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
|
||||||
|
@ -905,6 +905,7 @@ short save_once_cancel2(const char *fingerprint)
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if 0
|
||||||
/*
|
/*
|
||||||
* yes_or_no
|
* yes_or_no
|
||||||
*/
|
*/
|
||||||
|
@ -932,6 +933,7 @@ int yes_or_no(struct lsh_string *s, int def, int free)
|
||||||
}
|
}
|
||||||
return def;
|
return def;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
#pragma mark -
|
#pragma mark -
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue