summaryrefslogtreecommitdiff
path: root/sshd.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2012-02-14 10:03:30 -0800
committerTim Rice <tim@multitalents.net>2012-02-14 10:03:30 -0800
commite3609c935c93d680e39b9649520bc052576f7fc4 (patch)
tree5f09a403043df802fa7b68939ff0883c2e7ed65d /sshd.c
parent7b7901c330f7b50e8c6b2929cf329c451bce6c7e (diff)
- (tim) [openbsd-compat/bsd-misc.h sshd.c] Fix conflicting return type for
unsetenv due to rev 1.14 change to setenv.c. Cast unsetenv to void in sshd.c ok dtucker@
Diffstat (limited to 'sshd.c')
-rw-r--r--sshd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sshd.c b/sshd.c
index c8d71f8fe..b63aaa428 100644
--- a/sshd.c
+++ b/sshd.c
@@ -1511,7 +1511,7 @@ main(int ac, char **av)
1511 * root's environment 1511 * root's environment
1512 */ 1512 */
1513 if (getenv("KRB5CCNAME") != NULL) 1513 if (getenv("KRB5CCNAME") != NULL)
1514 unsetenv("KRB5CCNAME"); 1514 (void) unsetenv("KRB5CCNAME");
1515 1515
1516#ifdef _UNICOS 1516#ifdef _UNICOS
1517 /* Cray can define user privs drop all privs now! 1517 /* Cray can define user privs drop all privs now!