summaryrefslogtreecommitdiffstats
path: root/support/include/sockaddr.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2010-01-17 16:53:02 -0500
committerSteve Dickson <steved@redhat.com>2010-01-17 16:53:02 -0500
commit7d81b45faeb9ca652f4076cfecd0da742caa22a8 (patch)
tree9d3bfdaf8c45638b101f50de2a08e71cbf328829 /support/include/sockaddr.h
parent90c944c9cc1fde845caa29b98c2864eb32660403 (diff)
downloadnfs-utils-7d81b45faeb9ca652f4076cfecd0da742caa22a8.tar.gz
nfs-utils-7d81b45faeb9ca652f4076cfecd0da742caa22a8.tar.xz
nfs-utils-7d81b45faeb9ca652f4076cfecd0da742caa22a8.zip
tcpwrapper: Eliminated shadowed declaration warnings
Clean up: the use of identifiers called "access" and "daemon" shadow function declarations in unistd.h. Seen with "-Wextra -pedantic". tcpwrapper.c: In function haccess_add: tcpwrapper.c:112: warning: declaration of access shadows a global declaration /usr/include/unistd.h:288: warning: shadowed declaration is here tcpwrapper.c: In function good_client: tcpwrapper.c:161: warning: declaration of daemon shadows a global declaration /usr/include/unistd.h:953: warning: shadowed declaration is here tcpwrapper.c: In function check_default: tcpwrapper.c:212: warning: declaration of daemon shadows a global declaration /usr/include/unistd.h:953: warning: shadowed declaration is here good_client() is used only in support/misc/tcpwrapper.c, so make it static (and update its prototype to c99 standard form). Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/sockaddr.h')
0 files changed, 0 insertions, 0 deletions