diff options
author | Cy Schubert <cy@FreeBSD.org> | 2021-12-20 17:07:20 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2022-01-04 02:06:42 +0000 |
commit | efeb8bffe34422937c7f8df836afb5b817366d16 (patch) | |
tree | 488c0bccb66ed43ceb0c87ec6c6c386f70ab4179 /sbin/ipf/ipsend/iptest.c | |
parent | 064a5a95649d05ac084bcf2612cbac5575d76358 (diff) | |
download | src-efeb8bffe34422937c7f8df836afb5b817366d16.tar.gz src-efeb8bffe34422937c7f8df836afb5b817366d16.zip |
ipflter: ANSIfy userland function declarations
Convert ipfilter userland function declarations from K&R to ANSI. This
syncs our function declarations with NetBSD hg commit 75edcd7552a0
(apply our changes). Though not copied from NetBSD, this change was
partially inspired by NetBSD's work and inspired by style(9).
Reviewed by: glebius (for #network)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D33595
Diffstat (limited to 'sbin/ipf/ipsend/iptest.c')
-rw-r--r-- | sbin/ipf/ipsend/iptest.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sbin/ipf/ipsend/iptest.c b/sbin/ipf/ipsend/iptest.c index df2efb96a32a..e6c57c3cdbbd 100644 --- a/sbin/ipf/ipsend/iptest.c +++ b/sbin/ipf/ipsend/iptest.c @@ -63,9 +63,8 @@ static void usage(prog) } -int main(argc, argv) - int argc; - char **argv; +int +main(int argc, char **argv) { struct tcpiphdr *ti; struct in_addr gwip; |