Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys nuke trailing whitespace
details: https://anonhg.NetBSD.org/src/rev/078e3f7025e4
branches: trunk
changeset: 574345:078e3f7025e4
user: perry <perry%NetBSD.org@localhost>
date: Sat Feb 26 22:31:44 2005 +0000
description:
nuke trailing whitespace
diffstat:
sys/netisdn/i4b_capi.h | 4 +-
sys/netisdn/i4b_capi_msgs.c | 8 +-
sys/netisdn/i4b_cause.h | 4 +-
sys/netisdn/i4b_ctl.c | 22 +-
sys/netisdn/i4b_debug.h | 18 +-
sys/netisdn/i4b_global.h | 6 +-
sys/netisdn/i4b_i4bdrv.c | 128 +++++++-------
sys/netisdn/i4b_iframe.c | 30 +-
sys/netisdn/i4b_ioctl.h | 44 ++--
sys/netisdn/i4b_ipr.c | 126 +++++++-------
sys/netisdn/i4b_isppp.c | 62 +++---
sys/netisdn/i4b_l1l2.h | 8 +-
sys/netisdn/i4b_l2.c | 40 ++--
sys/netisdn/i4b_l2.h | 22 +-
sys/netisdn/i4b_l2fsm.c | 236 +++++++++++++-------------
sys/netisdn/i4b_l2fsm.h | 4 +-
sys/netisdn/i4b_l2if.c | 80 ++++----
sys/netisdn/i4b_l2timer.c | 14 +-
sys/netisdn/i4b_l3.h | 2 +-
sys/netisdn/i4b_l3fsm.c | 222 ++++++++++++------------
sys/netisdn/i4b_l3fsm.h | 32 +-
sys/netisdn/i4b_l3l4.h | 26 +-
sys/netisdn/i4b_l3timer.c | 38 ++--
sys/netisdn/i4b_l4.c | 94 +++++-----
sys/netisdn/i4b_l4.h | 2 +-
sys/netisdn/i4b_l4if.c | 20 +-
sys/netisdn/i4b_l4mgmt.c | 46 ++--
sys/netisdn/i4b_l4timer.c | 6 +-
sys/netisdn/i4b_lme.c | 16 +-
sys/netisdn/i4b_mbuf.c | 20 +-
sys/netisdn/i4b_mbuf.h | 4 +-
sys/netisdn/i4b_q931.c | 190 ++++++++++----------
sys/netisdn/i4b_q931.h | 2 +-
sys/netisdn/i4b_q932fac.c | 72 ++++----
sys/netisdn/i4b_q932fac.h | 10 +-
sys/netisdn/i4b_rbch.c | 114 ++++++------
sys/netisdn/i4b_sframe.c | 20 +-
sys/netisdn/i4b_tei.c | 38 ++--
sys/netisdn/i4b_tel.c | 350 ++++++++++++++++++++--------------------
sys/netisdn/i4b_tel_ioctl.h | 8 +-
sys/netisdn/i4b_trace.c | 62 +++---
sys/netisdn/i4b_trace.h | 4 +-
sys/netisdn/i4b_uframe.c | 52 ++--
sys/netisdn/i4b_util.c | 28 +-
sys/netiso/clnp_er.c | 6 +-
sys/netiso/clnp_subr.c | 6 +-
sys/netiso/esis.c | 6 +-
sys/netiso/iso_chksum.c | 6 +-
sys/netiso/tp.trans | 238 +++++++++++++-------------
sys/netiso/tp_cons.c | 6 +-
sys/netiso/tp_emit.c | 12 +-
sys/netiso/tp_inet.c | 6 +-
sys/netiso/tp_input.c | 6 +-
sys/netiso/tp_iso.c | 6 +-
sys/netiso/tp_pcb.h | 8 +-
sys/netiso/tp_tpdu.h | 4 +-
sys/netiso/tp_var.h | 4 +-
sys/netiso/xebec/debug.h | 6 +-
sys/netiso/xebec/llparse.c | 12 +-
sys/netiso/xebec/llparse.h | 4 +-
sys/netiso/xebec/llscan.c | 34 +-
sys/netiso/xebec/main.c | 26 +-
sys/netiso/xebec/main.h | 4 +-
sys/netiso/xebec/malloc.c | 10 +-
sys/netiso/xebec/procs.c | 54 +++---
sys/netiso/xebec/putdriver.c | 20 +-
sys/netiso/xebec/sets.c | 42 ++--
sys/netiso/xebec/sets.h | 4 +-
sys/netiso/xebec/xebec.c | 310 +++++++++++++++++-----------------
sys/netkey/key.c | 56 +++---
sys/netkey/keydb.h | 4 +-
sys/netnatm/natm.c | 20 +-
sys/netnatm/natm.h | 10 +-
sys/netnatm/natm_pcb.c | 14 +-
sys/netnatm/natm_proto.c | 12 +-
sys/netns/idp_usrreq.c | 8 +-
sys/netns/ns.c | 6 +-
sys/netns/ns_error.c | 8 +-
sys/netns/ns_input.c | 8 +-
sys/netns/ns_pcb.c | 14 +-
sys/netns/ns_proto.c | 6 +-
sys/netns/spp_usrreq.c | 14 +-
sys/netsmb/netbios.h | 8 +-
sys/netsmb/smb.h | 8 +-
sys/netsmb/smb_dev.c | 10 +-
sys/netsmb/smb_iod.c | 12 +-
sys/netsmb/smb_rq.c | 10 +-
sys/netsmb/smb_smb.c | 8 +-
sys/netsmb/smb_subr.c | 6 +-
sys/netsmb/smb_trantcp.c | 10 +-
sys/netsmb/smb_usr.c | 8 +-
sys/netsmb/subr_mchain.c | 12 +-
sys/nfs/files.nfs | 16 +-
sys/nfs/krpc_subr.c | 6 +-
sys/nfs/nfs_bio.c | 20 +-
sys/nfs/nfs_bootdhcp.c | 6 +-
sys/nfs/nfs_bootstatic.c | 6 +-
sys/nfs/nfs_kq.c | 12 +-
sys/nfs/nfs_node.c | 6 +-
sys/nfs/nfs_serv.c | 30 +-
sys/nfs/nfs_socket.c | 14 +-
sys/nfs/nfs_subs.c | 18 +-
sys/nfs/nfs_syscalls.c | 12 +-
sys/nfs/nfs_vfsops.c | 10 +-
sys/nfs/nfs_vnops.c | 28 +-
sys/nfs/nfsm_subs.h | 6 +-
sys/nfs/rpcv2.h | 4 +-
sys/opencrypto/criov.c | 8 +-
sys/opencrypto/crypto.c | 12 +-
sys/opencrypto/cryptodev.h | 4 +-
sys/opencrypto/cryptosoft.c | 10 +-
sys/opencrypto/deflate.c | 8 +-
sys/opencrypto/deflate.h | 4 +-
sys/opencrypto/files.opencrypto | 4 +-
sys/ufs/ext2fs/ext2fs.h | 8 +-
sys/ufs/ext2fs/ext2fs_alloc.c | 16 +-
sys/ufs/ext2fs/ext2fs_balloc.c | 8 +-
sys/ufs/ext2fs/ext2fs_bmap.c | 6 +-
sys/ufs/ext2fs/ext2fs_dinode.h | 6 +-
sys/ufs/ext2fs/ext2fs_dir.h | 4 +-
sys/ufs/ext2fs/ext2fs_inode.c | 10 +-
sys/ufs/ext2fs/ext2fs_lookup.c | 20 +-
sys/ufs/ext2fs/ext2fs_vfsops.c | 16 +-
sys/ufs/ext2fs/ext2fs_vnops.c | 14 +-
sys/ufs/ffs/ffs_alloc.c | 32 +-
sys/ufs/ffs/ffs_appleufs.c | 8 +-
sys/ufs/ffs/ffs_bswap.c | 12 +-
sys/ufs/ffs/ffs_extern.h | 4 +-
sys/ufs/ffs/ffs_snapshot.c | 10 +-
sys/ufs/ffs/ffs_softdep.c | 124 +++++++-------
sys/ufs/ffs/ffs_softdep.stub.c | 24 +-
sys/ufs/ffs/ffs_subr.c | 8 +-
sys/ufs/ffs/ffs_tables.c | 6 +-
sys/ufs/ffs/ffs_vfsops.c | 14 +-
sys/ufs/ffs/ffs_vnops.c | 8 +-
sys/ufs/ffs/fs.h | 8 +-
sys/ufs/ffs/softdep.h | 14 +-
sys/ufs/files.ufs | 4 +-
sys/ufs/lfs/lfs.h | 6 +-
sys/ufs/lfs/lfs_alloc.c | 26 +-
sys/ufs/lfs/lfs_balloc.c | 26 +-
sys/ufs/lfs/lfs_bio.c | 42 ++--
sys/ufs/lfs/lfs_cksum.c | 10 +-
sys/ufs/lfs/lfs_debug.c | 40 ++--
sys/ufs/lfs/lfs_extern.h | 4 +-
sys/ufs/lfs/lfs_inode.c | 12 +-
sys/ufs/lfs/lfs_segment.c | 110 ++++++------
sys/ufs/lfs/lfs_subr.c | 22 +-
sys/ufs/lfs/lfs_syscalls.c | 84 ++++----
sys/ufs/lfs/lfs_vfsops.c | 52 ++--
sys/ufs/lfs/lfs_vnops.c | 42 ++--
sys/ufs/mfs/mfs_vfsops.c | 14 +-
sys/ufs/mfs/mfs_vnops.c | 6 +-
sys/ufs/ufs/dirhash.h | 4 +-
sys/ufs/ufs/inode.h | 4 +-
sys/ufs/ufs/ufs_bmap.c | 10 +-
sys/ufs/ufs/ufs_dirhash.c | 14 +-
sys/ufs/ufs/ufs_extern.h | 4 +-
sys/ufs/ufs/ufs_lookup.c | 6 +-
sys/ufs/ufs/ufs_quota.c | 6 +-
sys/ufs/ufs/ufs_vnops.c | 26 +-
sys/uvm/uvm_bio.c | 6 +-
sys/uvm/uvm_km.c | 6 +-
sys/uvm/uvm_map.c | 6 +-
164 files changed, 2331 insertions(+), 2331 deletions(-)
diffs (truncated from 16921 to 300 lines):
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_capi.h
--- a/sys/netisdn/i4b_capi.h Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_capi.h Sat Feb 26 22:31:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i4b_capi.h,v 1.2 2003/10/03 16:38:44 pooka Exp $ */
+/* $NetBSD: i4b_capi.h,v 1.3 2005/02/26 22:39:49 perry Exp $ */
/*
* Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -100,7 +100,7 @@
/* Link layer driver context holder and methods */
void *ctx;
-
+
int (*load)(struct capi_softc *, int, u_int8_t *);
int (*reg_appl)(struct capi_softc *, int, int);
int (*rel_appl)(struct capi_softc *, int);
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_capi_msgs.c
--- a/sys/netisdn/i4b_capi_msgs.c Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_capi_msgs.c Sat Feb 26 22:31:44 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: i4b_capi_msgs.c,v 1.5 2003/10/28 17:02:54 pooka Exp $ */
+/* $NetBSD: i4b_capi_msgs.c,v 1.6 2005/02/26 22:39:49 perry Exp $ */
/*
* Copyright (c) 2001-2003 Cubical Solutions Ltd. All rights reserved.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.5 2003/10/28 17:02:54 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_capi_msgs.c,v 1.6 2005/02/26 22:39:49 perry Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@@ -124,7 +124,7 @@
msg = capimsg_getu32(msg, &PLCI);
/* i4b_l4_info_ind() */
-
+
msg = capimsg_setu16(mtod(m, u_int8_t*), m->m_len);
msg = capimsg_setu16(msg, applid);
msg = capimsg_setu16(msg, CAPI_INFO_RESP);
@@ -245,7 +245,7 @@
msg = capimsg_setu8(msg + slen, 0); /* Called & */
msg = capimsg_setu8(msg, 0); /* Calling party subaddress */
-
+
msg = capimsg_setu8(msg, 15); /* B protocol */
if (cd->bprot == BPROT_NONE)
msg = capimsg_setu16(msg, 1); /* B1 protocol = transparent */
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_cause.h
--- a/sys/netisdn/i4b_cause.h Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_cause.h Sat Feb 26 22:31:44 2005 +0000
@@ -27,7 +27,7 @@
* i4b_cause.h - causes and cause handling for i4b
* -----------------------------------------------
*
- * $Id: i4b_cause.h,v 1.1.1.1 2001/01/05 12:49:56 martin Exp $
+ * $Id: i4b_cause.h,v 1.2 2005/02/26 22:39:49 perry Exp $
*
* $FreeBSD$
*
@@ -72,7 +72,7 @@
#define CAUSE_I4B_MAX 9
/* NOTE: update isdnd/pcause.c when adding causes !!!!! */
/* NOTE: update layer3/i4b_q931.c when adding causes !!!!! */
-
+
/* CAUSET_Q850 - causes defined in Q.850 */
#define CAUSE_Q850_SHUTDN 0x00 /* normal D-channel shutdown */
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_ctl.c
--- a/sys/netisdn/i4b_ctl.c Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_ctl.c Sat Feb 26 22:31:44 2005 +0000
@@ -27,7 +27,7 @@
* i4b_ctl.c - i4b system control port driver
* ------------------------------------------
*
- * $Id: i4b_ctl.c,v 1.12 2003/10/03 16:38:44 pooka Exp $
+ * $Id: i4b_ctl.c,v 1.13 2005/02/26 22:39:49 perry Exp $
*
* $FreeBSD$
*
@@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_ctl.c,v 1.12 2003/10/03 16:38:44 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_ctl.c,v 1.13 2005/02/26 22:39:49 perry Exp $");
#include "isdnctl.h"
@@ -127,7 +127,7 @@
/* bmaj */ -1
};
#else
-static struct cdevsw i4bctl_cdevsw =
+static struct cdevsw i4bctl_cdevsw =
{ i4bctlopen, i4bctlclose, noread, nowrite,
i4bctlioctl, nostop, nullreset, nodevtotty,
POLLFIELD, nommap, NULL, "i4bctl", NULL, -1 };
@@ -188,7 +188,7 @@
static struct cfdriver i4bctlcd =
{ NULL, "i4bctl", i4bctlmatch, dummy_i4bctlattach, DV_DULL,
sizeof(struct cfdriver) };
-struct devsw i4bctlsw =
+struct devsw i4bctlsw =
{ &i4bctlcd,
i4bctlopen, i4bctlclose, noread, nowrite,
i4bctlioctl, seltrue, nommap, nostrat,
@@ -244,9 +244,9 @@
if(openflag)
return (EBUSY);
-
+
openflag = 1;
-
+
return (0);
}
@@ -267,10 +267,10 @@
isdnctlioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
{
#if DO_I4B_DEBUG
- ctl_debug_t *cdbg;
+ ctl_debug_t *cdbg;
int error = 0;
#endif
-
+
#if !DO_I4B_DEBUG
return(ENODEV);
#else
@@ -286,7 +286,7 @@
cdbg->l3 = i4b_l3_debug;
cdbg->l4 = i4b_l4_debug;
break;
-
+
case I4B_CTL_SET_DEBUG:
cdbg = (ctl_debug_t *)data;
i4b_l1_debug = cdbg->l1;
@@ -326,7 +326,7 @@
error = EINVAL;
break;
}
-
+
memcpy(&l2s->lapdstat, &sc->stat, sizeof(lapdstat_t));
break;
}
@@ -342,7 +342,7 @@
error = EINVAL;
break;
}
-
+
memset(&sc->stat, 0, sizeof(lapdstat_t));
break;
}
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_debug.h
--- a/sys/netisdn/i4b_debug.h Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_debug.h Sat Feb 26 22:31:44 2005 +0000
@@ -27,7 +27,7 @@
* i4b_debug.h - i4b debug header file
* -----------------------------------
*
- * $Id: i4b_debug.h,v 1.4 2003/09/25 15:54:41 pooka Exp $
+ * $Id: i4b_debug.h,v 1.5 2005/02/26 22:39:49 perry Exp $
*
* $FreeBSD$
*
@@ -61,15 +61,15 @@
#define NDBGL2(bits, fmt, args...) \
if(bits & i4b_l2_debug) \
{ printf("i4b-L2 %s: " fmt "\n", __FUNCTION__ , ##args ); }
-
+
#define NDBGL3(bits, fmt, args...) \
if(bits & i4b_l3_debug) \
{ printf("i4b-L3 %s: " fmt "\n", __FUNCTION__ , ##args ); }
-
+
#define NDBGL4(bits, fmt, args...) \
if(bits & i4b_l4_debug) \
{ printf("i4b-L4 %s: " fmt "\n", __FUNCTION__ , ##args ); }
-
+
#else /* !DO_I4B_DEBUG */
#define NDBGL1(bits, fmt, args...);
@@ -198,9 +198,9 @@
unsigned int l1;
unsigned int l2;
unsigned int l3;
- unsigned int l4;
+ unsigned int l4;
} ctl_debug_t;
-
+
#define I4B_CTL_GET_DEBUG _IOR('C', 0, ctl_debug_t)
#define I4B_CTL_SET_DEBUG _IOW('C', 1, ctl_debug_t)
@@ -269,7 +269,7 @@
u_long tx_dm; /* DM */
u_long tx_disc; /* DISC */
u_long tx_ua; /* UA */
- u_long tx_frmr; /* FRMR */
+ u_long tx_frmr; /* FRMR */
u_long tx_tei; /* TEI */
/* receive */
@@ -285,8 +285,8 @@
u_long rx_xid; /* XID */
u_long rx_dm; /* DM */
u_long rx_ua; /* UA */
- u_long rx_frmr; /* FRMR */
-
+ u_long rx_frmr; /* FRMR */
+
/* errors */
u_long err_rx_len; /* incorrect length */
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_global.h
--- a/sys/netisdn/i4b_global.h Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_global.h Sat Feb 26 22:31:44 2005 +0000
@@ -27,7 +27,7 @@
* i4b_global.h - i4b global include file
* --------------------------------------
*
- * $Id: i4b_global.h,v 1.4 2002/03/30 17:54:18 martin Exp $
+ * $Id: i4b_global.h,v 1.5 2005/02/26 22:39:49 perry Exp $
*
* $FreeBSD$
*
@@ -40,7 +40,7 @@
/*---------------------------------------------------------------------------*
* hiding OS differences in the kernel
- *---------------------------------------------------------------------------*/
+ *---------------------------------------------------------------------------*/
/*---------------*/
/* time handling */
@@ -114,7 +114,7 @@
/*---------------------------------------------------------------------------*
* misc globally used things in the kernel
- *---------------------------------------------------------------------------*/
+ *---------------------------------------------------------------------------*/
/* timer states */
diff -r 43d4973acc72 -r 078e3f7025e4 sys/netisdn/i4b_i4bdrv.c
--- a/sys/netisdn/i4b_i4bdrv.c Sat Feb 26 22:28:23 2005 +0000
+++ b/sys/netisdn/i4b_i4bdrv.c Sat Feb 26 22:31:44 2005 +0000
@@ -27,7 +27,7 @@
* i4b_i4bdrv.c - i4b userland interface driver
* --------------------------------------------
*
- * $Id: i4b_i4bdrv.c,v 1.25 2004/03/28 14:27:26 pooka Exp $
+ * $Id: i4b_i4bdrv.c,v 1.26 2005/02/26 22:39:49 perry Exp $
*
* $FreeBSD$
*
@@ -36,7 +36,7 @@
*---------------------------------------------------------------------------*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i4b_i4bdrv.c,v 1.25 2004/03/28 14:27:26 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i4b_i4bdrv.c,v 1.26 2005/02/26 22:39:49 perry Exp $");
#include "isdn.h"
@@ -211,7 +211,7 @@
static struct cfdriver i4bcd =
{ NULL, "i4b", i4bmatch, dummy_i4battach, DV_DULL,
sizeof(struct cfdriver) };
-struct devsw i4bsw =
+struct devsw i4bsw =
{ &i4bcd,
i4bopen, i4bclose, i4bread, nowrite,
i4bioctl, i4bselect, nommap, nostrat,
@@ -321,12 +321,12 @@
IF_DEQUEUE(&i4b_rdqueue, m);
splx(x);
-
+
if(m && m->m_len)
error = uiomove(m->m_data, m->m_len, uio);
else
error = EIO;
-
Home |
Main Index |
Thread Index |
Old Index