summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/netstat.h
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2003-12-29 04:41:38 +0000
committerbde <bde@FreeBSD.org>2003-12-29 04:41:38 +0000
commit870b768c6b023c434beeecf13588347080677ae9 (patch)
tree5fd5a40eeea48c7446f6756582d6e240f7d02a3e /usr.bin/netstat/netstat.h
parente288c5ef902411655bc9a78a5a199b9023603d7e (diff)
downloadFreeBSD-src-870b768c6b023c434beeecf13588347080677ae9.zip
FreeBSD-src-870b768c6b023c434beeecf13588347080677ae9.tar.gz
Fixed missing declaration of pluralies(). This showed up as strange
printf format warnings for inet6.c (pluralies() was implicit int, but the context requires a "char *"). Added WARNS?=2 to the Makefile so that such errors don't come back. Added NO_WERROR?= to the Makefile because I haven't checked that setting WARNS doesn't uncover more bugs except on i386's.
Diffstat (limited to 'usr.bin/netstat/netstat.h')
-rw-r--r--usr.bin/netstat/netstat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/netstat/netstat.h b/usr.bin/netstat/netstat.h
index 6ebf454..ded6f78 100644
--- a/usr.bin/netstat/netstat.h
+++ b/usr.bin/netstat/netstat.h
@@ -63,6 +63,7 @@ extern int af; /* address family */
int kread(u_long addr, char *buf, int size);
const char *plural(int);
const char *plurales(int);
+const char *pluralies(int);
void protopr(u_long, const char *, int);
void tcp_stats(u_long, const char *, int);
OpenPOWER on IntegriCloud