summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/iso.c
diff options
context:
space:
mode:
authorassar <assar@FreeBSD.org>2001-06-15 23:55:45 +0000
committerassar <assar@FreeBSD.org>2001-06-15 23:55:45 +0000
commitf5fc9b53400a054604623dad4c679865150873d4 (patch)
treea01e8cdca4bb3010a22da31eaa18ddcec1fbb82a /usr.bin/netstat/iso.c
parentee746c97f9f42b279e24583560b4f0eaef1e081b (diff)
downloadFreeBSD-src-f5fc9b53400a054604623dad4c679865150873d4.zip
FreeBSD-src-f5fc9b53400a054604623dad4c679865150873d4.tar.gz
remove warnings
remove superfluous declarations make things more consistent
Diffstat (limited to 'usr.bin/netstat/iso.c')
-rw-r--r--usr.bin/netstat/iso.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/netstat/iso.c b/usr.bin/netstat/iso.c
index 149c8a2..387c633 100644
--- a/usr.bin/netstat/iso.c
+++ b/usr.bin/netstat/iso.c
@@ -115,7 +115,7 @@ extern void inetprint (struct in_addr *, int, char *);
* Dump esis stats
*/
void
-esis_stats(u_long off, char *name)
+esis_stats(u_long off, char *name, int af __unused)
{
struct esis_stat esis_stat;
@@ -142,7 +142,7 @@ esis_stats(u_long off, char *name)
* Dump clnp statistics structure.
*/
void
-clnp_stats(u_long off, char *name)
+clnp_stats(u_long off, char *name, int af __unused)
{
struct clnp_stat clnp_stat;
@@ -175,7 +175,7 @@ clnp_stats(u_long off, char *name)
* Dump CLTP statistics structure.
*/
void
-cltp_stats(u_long off, char *name)
+cltp_stats(u_long off, char *name, int af __unused)
{
struct cltpstat cltpstat;
@@ -209,7 +209,7 @@ static int first = 1;
* -a (all) flag is specified.
*/
void
-iso_protopr(u_long off, char *name)
+iso_protopr(u_long off, char *name, int af __unused)
{
struct isopcb cb;
register struct isopcb *prev, *next;
@@ -293,7 +293,7 @@ iso_protopr1(u_long kern_addr, int istp)
}
void
-tp_protopr(u_long off, char *name)
+tp_protopr(u_long off, char *name, int af __unused)
{
extern char *tp_sstring[];
struct tp_ref *tpr, *tpr_base;
@@ -444,7 +444,7 @@ isonetprint(struct iso_addr *iso, char *sufx, u_short sufxlen, int islocal)
#ifdef notdef
static void
-x25_protopr(u_long off, char *name)
+x25_protopr(u_long off, char *name, int af __unused)
{
static char *xpcb_states[] = {
"CLOSED",
OpenPOWER on IntegriCloud