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/0c53c037503a
branches: trunk
changeset: 780392:0c53c037503a
user: darrenr <darrenr%NetBSD.org@localhost>
date: Sun Jul 22 16:40:40 2012 +0000
description:
ansify new function definition
diffstat:
sys/external/bsd/ipf/netinet/ip_nat.c | 9 +++------
sys/external/bsd/ipf/netinet/ip_tftp_pxy.c | 13 ++++---------
2 files changed, 7 insertions(+), 15 deletions(-)
diffs (71 lines):
diff -r 2a250c2f7518 -r 0c53c037503a sys/external/bsd/ipf/netinet/ip_nat.c
--- a/sys/external/bsd/ipf/netinet/ip_nat.c Sun Jul 22 16:37:31 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_nat.c Sun Jul 22 16:40:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_nat.c,v 1.4 2012/07/22 16:37:31 darrenr Exp $ */
+/* $NetBSD: ip_nat.c,v 1.5 2012/07/22 16:40:40 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -113,7 +113,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.4 2012/07/22 16:37:31 darrenr Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ip_nat.c,v 1.5 2012/07/22 16:40:40 darrenr Exp $");
#else
static const char sccsid[] = "@(#)ip_nat.c 1.11 6/5/96 (C) 1995 Darren Reed";
static const char rcsid[] = "@(#)Id: ip_nat.c,v 1.1.1.2 2012/07/22 13:45:27 darrenr Exp";
@@ -3444,10 +3444,7 @@
/* Handle the insertion of a NAT entry into the table/list. */
/* ------------------------------------------------------------------------ */
int
-ipf_nat_hashtab_add(softc, softn, nat)
- ipf_main_softc_t *softc;
- ipf_nat_softc_t *softn;
- nat_t *nat;
+ipf_nat_hashtab_add(ipf_main_softc_t *softc, ipf_nat_softc_t *softn, nat_t *nat)
{
nat_t **natp;
u_int hv0;
diff -r 2a250c2f7518 -r 0c53c037503a sys/external/bsd/ipf/netinet/ip_tftp_pxy.c
--- a/sys/external/bsd/ipf/netinet/ip_tftp_pxy.c Sun Jul 22 16:37:31 2012 +0000
+++ b/sys/external/bsd/ipf/netinet/ip_tftp_pxy.c Sun Jul 22 16:40:40 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ip_tftp_pxy.c,v 1.3 2012/07/22 14:27:51 darrenr Exp $ */
+/* $NetBSD: ip_tftp_pxy.c,v 1.4 2012/07/22 16:43:59 darrenr Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -85,8 +85,7 @@
void *
-ipf_p_tftp_soft_create(softc)
- ipf_main_softc_t *softc;
+ipf_p_tftp_soft_create(ipf_main_softc_t *softc)
{
ipf_tftp_softc_t *softt;
@@ -115,9 +114,7 @@
void
-ipf_p_tftp_soft_destroy(softc, arg)
- ipf_main_softc_t *softc;
- void *arg;
+ipf_p_tftp_soft_destroy(ipf_main_softc_t *softc, void *arg)
{
ipf_tftp_softc_t *softt = arg;
@@ -252,9 +249,7 @@
void
-ipf_p_tftp_del(softc, aps)
- ipf_main_softc_t *softc;
- ap_session_t *aps;
+ipf_p_tftp_del(ipf_main_softc_t *softc, ap_session_t *aps)
{
tftpinfo_t *tftp;
Home |
Main Index |
Thread Index |
Old Index