]> granicus.if.org Git - procps-ng/commit
sysctl: fix compiler warnings
authorSami Kerola <kerolasa@iki.fi>
Fri, 2 Nov 2012 17:50:55 +0000 (17:50 +0000)
committerCraig Small <csmall@enc.com.au>
Tue, 6 Nov 2012 11:30:01 +0000 (22:30 +1100)
commit2c99a09e527a6d58f61801bba5deddd2b9516c72
treef74f51cdc2ac8c0a5029f68972e40ea0b32b89a2
parentc8554e6c0f9b47fab49c256c24ba9ec07a2569b1
sysctl: fix compiler warnings

sysctl.c:293:5: warning: no previous declaration for 'is_deprecated' [-Wmissing-declarations]
sysctl.c:472:58: warning: declaration of 'pattern' shadows a global declaration [-Wshadow]
sysctl.c:67:14: warning: shadowed declaration is here [-Wshadow]
sysctl.c:650:7: warning: variable 'SwitchesAllowed' set but not used [-Wunused-but-set-variable]

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
sysctl.c