Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/ipf/netinet ansify new function definition
details: https://anonhg.NetBSD.org/src/rev/56bece080e96
branches: trunk
changeset: 780390:56bece080e96
user: darrenr <darrenr%NetBSD.org@localhost>
date: Sun Jul 22 16:26:56 2012 +0000
description:
ansify new function definition
diffstat:
sys/external/bsd/ipf/netinet/fil.c | 8 +++-----
sys/external/bsd/ipf/netinet/ip_dstlist.c | 6 ++----
sys/external/bsd/ipf/netinet/ip_proxy.c | 10 ++++------
3 files changed, 9 insertions(+), 15 deletions(-)
diffs (87 lines):
diff -r 21335064a98a -r 56bece080e96 sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c Sun Jul 22 16:22:41 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c Sun Jul 22 16:26:56 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fil.c,v 1.4 2012/07/22 16:13:16 darrenr Exp $ */
+/* $NetBSD: fil.c,v 1.5 2012/07/22 16:26:56 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -138,7 +138,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.4 2012/07/22 16:13:16 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.5 2012/07/22 16:26:56 darrenr Exp $");
#else
static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-2000 Darren Reed";
static const char rcsid[] = "@(#)Id: fil.c,v 1.1.1.2 2012/07/22 13:45:07 darrenr Exp $";
@@ -9775,9 +9775,7 @@
/* netmasks stored inside of mtab. */
/* ------------------------------------------------------------------------ */
void
-ipf_inet_mask_del(bits, mtab)
- int bits;
- ipf_v4_masktab_t *mtab;
+ipf_inet_mask_del(int bits, ipf_v4_masktab_t *mtab)
{
u_32_t mask;
int i, j;
diff -r 21335064a98a -r 56bece080e96 sys/external/bsd/ipf/netinet/ip_dstlist.c
--- a/sys/external/bsd/ipf/netinet/ip_dstlist.c Sun Jul 22 16:22:41 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_dstlist.c Sun Jul 22 16:26:56 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_dstlist.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $ */
+/* $NetBSD: ip_dstlist.c,v 1.4 2012/07/22 16:31:26 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -928,9 +928,7 @@
/* the destination list. */
/* ------------------------------------------------------------------------ */
static void
-ipf_dstlist_table_free(softd, d)
- ipf_dstl_softc_t *softd;
- ippool_dst_t *d;
+ipf_dstlist_table_free(ipf_dstl_softc_t *softd, ippool_dst_t *d)
{
MUTEX_DESTROY(&d->ipld_lock);
diff -r 21335064a98a -r 56bece080e96 sys/external/bsd/ipf/netinet/ip_proxy.c
--- a/sys/external/bsd/ipf/netinet/ip_proxy.c Sun Jul 22 16:22:41 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_proxy.c Sun Jul 22 16:26:56 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_proxy.c,v 1.4 2012/07/22 16:19:34 darrenr Exp $ */
+/* $NetBSD: ip_proxy.c,v 1.5 2012/07/22 16:34:04 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -104,7 +104,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_proxy.c,v 1.4 2012/07/22 16:19:34 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_proxy.c,v 1.5 2012/07/22 16:34:04 darrenr Exp $");
#else
static const char rcsid[] = "@(#)Id: ip_proxy.c,v 1.1.1.2 2012/07/22 13:45:33 darrenr Exp";
#endif
@@ -1303,8 +1303,7 @@
/* data connections with the PORT and EPRT commands. */
/* ------------------------------------------------------------------------ */
ipnat_t *
-ipf_proxy_rule_rev(nat)
- nat_t *nat;
+ipf_proxy_rule_rev(nat_t *nat)
{
ipnat_t *old;
ipnat_t *ipn;
@@ -1391,8 +1390,7 @@
/* used to support PORT/EPRT, this function supports PASV/EPSV. */
/* ------------------------------------------------------------------------ */
ipnat_t *
-ipf_proxy_rule_fwd(nat)
- nat_t *nat;
+ipf_proxy_rule_fwd(nat_t *nat)
{
ipnat_t *old;
ipnat_t *ipn;
Home |
Main Index |
Thread Index |
Old Index