summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/ns.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/netstat/ns.c')
-rw-r--r--usr.bin/netstat/ns.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/netstat/ns.c b/usr.bin/netstat/ns.c
index 041282f..1b924be 100644
--- a/usr.bin/netstat/ns.c
+++ b/usr.bin/netstat/ns.c
@@ -85,7 +85,7 @@ static int first = 1;
*/
void
-nsprotopr(u_long off, char *name)
+nsprotopr(u_long off, char *name, int af __unused)
{
struct nspcb cb;
register struct nspcb *prev, *next;
@@ -158,7 +158,7 @@ nsprotopr(u_long off, char *name)
* Dump SPP statistics structure.
*/
void
-spp_stats(u_long off, char *name)
+spp_stats(u_long off, char *name, int af __unused)
{
struct spp_istat spp_istat;
#define sppstat spp_istat.newstats
@@ -234,7 +234,7 @@ spp_stats(u_long off, char *name)
* Dump IDP statistics structure.
*/
void
-idp_stats(u_long off, char *name)
+idp_stats(u_long off, char *name, int af __unused)
{
struct idpstat idpstat;
@@ -268,7 +268,7 @@ static struct {
*/
/*ARGSUSED*/
void
-nserr_stats(u_long off, char *name)
+nserr_stats(u_long off, char *name, int af __unused)
{
struct ns_errstat ns_errstat;
register int j;
OpenPOWER on IntegriCloud