diff --git a/libmisc/env.c b/libmisc/env.c index fc6dbced..c6ab6727 100644 --- a/libmisc/env.c +++ b/libmisc/env.c @@ -26,7 +26,6 @@ #define NEWENVP_STEP 16 size_t newenvc = 0; /*@null@*/char **newenvp = NULL; -extern char **environ; static const char *const forbid[] = { "_RLD_=", diff --git a/src/login.c b/src/login.c index c55f4de0..ea2b52ee 100644 --- a/src/login.c +++ b/src/login.c @@ -89,7 +89,6 @@ static char tmsg[256]; extern char **newenvp; extern size_t newenvc; -extern char **environ; #ifndef ALARM #define ALARM 60 diff --git a/src/newgrp.c b/src/newgrp.c index ac18f0ca..d04dace1 100644 --- a/src/newgrp.c +++ b/src/newgrp.c @@ -29,7 +29,6 @@ const char *Prog; extern char **newenvp; -extern char **environ; #ifdef HAVE_SETGROUPS static int ngroups; diff --git a/src/sulogin.c b/src/sulogin.c index ddb0d451..0d5b411d 100644 --- a/src/sulogin.c +++ b/src/sulogin.c @@ -37,8 +37,6 @@ static struct passwd pwent; extern char **newenvp; extern size_t newenvc; -extern char **environ; - #ifndef ALARM #define ALARM 60 #endif