summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
Diffstat (limited to 'session.c')
-rw-r--r--session.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/session.c b/session.c
index 80738b927..431ccd832 100644
--- a/session.c
+++ b/session.c
@@ -974,11 +974,13 @@ copy_environment_blacklist(char **source, char ***env, u_int *envsize,
974 } 974 }
975} 975}
976 976
977void 977#ifdef HAVE_CYGWIN
978static void
978copy_environment(char **source, char ***env, u_int *envsize) 979copy_environment(char **source, char ***env, u_int *envsize)
979{ 980{
980 copy_environment_blacklist(source, env, envsize, NULL); 981 copy_environment_blacklist(source, env, envsize, NULL);
981} 982}
983#endif
982 984
983static char ** 985static char **
984do_setup_env(struct ssh *ssh, Session *s, const char *shell) 986do_setup_env(struct ssh *ssh, Session *s, const char *shell)