]> git.ipfire.org Git - thirdparty/shadow.git/commit
Drop redundant declaration
authorChristian Göttsche <cgzones@googlemail.com>
Tue, 24 Jan 2023 14:59:47 +0000 (15:59 +0100)
committerIker Pedrosa <ikerpedrosam@gmail.com>
Wed, 25 Jan 2023 11:31:17 +0000 (12:31 +0100)
commit43508ac4763591a5f05b884abeeed934b6748680
tree19bee5abdcbd57dc0481d982d826c7cd53d79632
parent46d305834115b8d43a73338d903a659be8c1ae25
Drop redundant declaration

environ is exported in <unistd.h>.

    env.c:29:15: warning: redundant redeclaration of 'environ' [-Wredundant-decls]
       29 | extern char **environ;
          |               ^~~~~~~
    login.c:92:15: warning: redundant redeclaration of ‘environ’ [-Wredundant-decls]
       92 | extern char **environ;
          |               ^~~~~~~
    sulogin.c:40:15: warning: redundant redeclaration of ‘environ’ [-Wredundant-decls]
       40 | extern char **environ;
          |               ^~~~~~~
    newgrp.c:32:15: warning: redundant redeclaration of ‘environ’ [-Wredundant-decls]
       32 | extern char **environ;
          |               ^~~~~~~
libmisc/env.c
src/login.c
src/newgrp.c
src/sulogin.c