summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/sshd.c b/sshd.c
index 6169a7336..2c224b9c3 100644
--- a/sshd.c
+++ b/sshd.c
@@ -101,7 +101,6 @@ extern char *__progname;
101#else 101#else
102char *__progname; 102char *__progname;
103#endif 103#endif
104extern char **environ;
105 104
106/* Server configuration options. */ 105/* Server configuration options. */
107ServerOptions options; 106ServerOptions options;
@@ -1106,11 +1105,6 @@ main(int ac, char **av)
1106 unmounted if desired. */ 1105 unmounted if desired. */
1107 chdir("/"); 1106 chdir("/");
1108 1107
1109#ifndef HAVE_CYGWIN
1110 /* Clear environment */
1111 environ[0] = NULL;
1112#endif
1113
1114 /* ignore SIGPIPE */ 1108 /* ignore SIGPIPE */
1115 signal(SIGPIPE, SIG_IGN); 1109 signal(SIGPIPE, SIG_IGN);
1116 1110