diff options
author | ed <ed@FreeBSD.org> | 2009-02-26 20:59:05 +0000 |
---|---|---|
committer | ed <ed@FreeBSD.org> | 2009-02-26 20:59:05 +0000 |
commit | e2be17ec8c033846c60a3c3371e6709f46d8efcb (patch) | |
tree | c45658370bc2330138d202baa86af521f2c135cf /usr.sbin/trpt | |
parent | 4a4a263618990b8afff0492a5ce9d9b350097834 (diff) | |
download | FreeBSD-src-e2be17ec8c033846c60a3c3371e6709f46d8efcb.zip FreeBSD-src-e2be17ec8c033846c60a3c3371e6709f46d8efcb.tar.gz |
Fix LLVM compiler errors related to K&R declarations with ANSI prototypes.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Diffstat (limited to 'usr.sbin/trpt')
-rw-r--r-- | usr.sbin/trpt/trpt.c | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index 6339776..fbdc4de 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -301,17 +301,8 @@ done: if (follow) { */ /*ARGSUSED*/ void -tcp_trace(act, ostate, tp, family, ip, th, req) - short act, ostate; - struct tcpcb *tp; -#ifdef INET6 - int family; -#else - int family __unused; -#endif - void *ip; - struct tcphdr *th; - int req; +tcp_trace(short act, short ostate, struct tcpcb *tp, int family __unused, + void *ip, struct tcphdr *th, int req) { tcp_seq seq, ack; int flags, len, win, timer; |