diff options
Diffstat (limited to 'sshd.c')
-rw-r--r-- | sshd.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -101,7 +101,6 @@ extern char *__progname; | |||
101 | #else | 101 | #else |
102 | char *__progname; | 102 | char *__progname; |
103 | #endif | 103 | #endif |
104 | extern char **environ; | ||
105 | 104 | ||
106 | /* Server configuration options. */ | 105 | /* Server configuration options. */ |
107 | ServerOptions options; | 106 | ServerOptions 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 | ||