summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2002-04-28 12:15:40 +0000
committermarkm <markm@FreeBSD.org>2002-04-28 12:15:40 +0000
commit0f588b93731c0d826bbc0590f928f38702d4bd77 (patch)
treeb01a328d5e905b82825b0b5472d5b13485b320d0 /usr.bin
parent9302f8d66bd77a286035d11c3f0e4c0743bb4abd (diff)
downloadFreeBSD-src-0f588b93731c0d826bbc0590f928f38702d4bd77.zip
FreeBSD-src-0f588b93731c0d826bbc0590f928f38702d4bd77.tar.gz
fix warnings; change variable/argument names that mask global names.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/netstat/if.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/if.c b/usr.bin/netstat/if.c
index fba5158..e58fbd2 100644
--- a/usr.bin/netstat/if.c
+++ b/usr.bin/netstat/if.c
@@ -87,7 +87,7 @@ static int bdg_done;
/* print bridge statistics */
void
-bdg_stats(u_long dummy __unused, char *name, int af __unused)
+bdg_stats(u_long dummy __unused, char *name, int _af __unused)
{
int i;
size_t slen ;
@@ -153,7 +153,7 @@ show_stat(const char *fmt, int width, u_long value, short showvalue)
* Print a description of the network interfaces.
*/
void
-intpr(int interval, u_long ifnetaddr, void (*pfunc)(char *))
+intpr(int _interval, u_long ifnetaddr, void (*pfunc)(char *))
{
struct ifnet ifnet;
struct ifnethead ifnethead;
@@ -192,8 +192,8 @@ intpr(int interval, u_long ifnetaddr, void (*pfunc)(char *))
printf("ifnet: symbol not defined\n");
return;
}
- if (interval) {
- sidewaysintpr((unsigned)interval, ifnetaddr);
+ if (_interval) {
+ sidewaysintpr((unsigned)_interval, ifnetaddr);
return;
}
if (kread(ifnetaddr, (char *)&ifnethead, sizeof ifnethead))
OpenPOWER on IntegriCloud