Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch kill extra whitespaces
details: https://anonhg.NetBSD.org/src/rev/20b508ced631
branches: trunk
changeset: 748539:20b508ced631
user: cegger <cegger%NetBSD.org@localhost>
date: Mon Oct 26 19:16:54 2009 +0000
description:
kill extra whitespaces
reviewed by tsutsui@
diffstat:
sys/arch/amiga/amiga/amiga_init.c | 8 ++--
sys/arch/amiga/dev/fd.c | 14 +++---
sys/arch/amiga/dev/grf.c | 8 ++--
sys/arch/amiga/dev/grf_cc.c | 6 +-
sys/arch/amiga/dev/grf_cl.c | 20 +++++-----
sys/arch/amiga/dev/grf_cv.c | 14 +++---
sys/arch/amiga/dev/grf_cv3d.c | 14 +++---
sys/arch/amiga/dev/grf_et.c | 14 +++---
sys/arch/amiga/dev/grf_rh.c | 6 +-
sys/arch/amiga/dev/grf_rt.c | 6 +-
sys/arch/amiga/dev/grf_ul.c | 8 ++--
sys/arch/amiga/dev/grfabs_cc.c | 62 +++++++++++++++---------------
sys/arch/amiga/dev/gvpbus.c | 6 +-
sys/arch/amiga/dev/if_ed.c | 6 +-
sys/arch/amiga/dev/if_es.c | 8 ++--
sys/arch/amiga/dev/if_qn.c | 6 +-
sys/arch/amiga/dev/ite.c | 16 ++++----
sys/arch/amiga/dev/ite_cl.c | 24 ++++++------
sys/arch/amiga/dev/ite_rh.c | 8 ++--
sys/arch/amiga/dev/ite_rt.c | 12 +++---
sys/arch/amiga/dev/mfc.c | 6 +-
sys/arch/amiga/dev/sbic.c | 6 +-
sys/arch/amiga/dev/siop.c | 6 +-
sys/arch/amiga/dev/siop2.c | 6 +-
sys/arch/amiga/dev/view.c | 8 ++--
sys/arch/arc/dti/btl.c | 10 ++--
sys/arch/arm/xscale/ixp425_npe.c | 8 ++--
sys/arch/cesfic/cesfic/eeprom.c | 6 +-
sys/arch/cesfic/cesfic/trap.c | 8 ++--
sys/arch/cesfic/dev/zs.c | 6 +-
sys/arch/evbarm/stand/gzboot/gzboot.c | 6 +-
sys/arch/hp700/hp700/machdep.c | 6 +-
sys/arch/hp700/stand/common/itecons.c | 4 +-
sys/arch/hp700/stand/common/lif.c | 4 +-
sys/arch/hp700/stand/common/pdc.c | 8 ++--
sys/arch/hpcmips/stand/lcboot/dev_flash.c | 6 +-
sys/arch/hppa/hppa/process_machdep.c | 8 ++--
sys/arch/i386/stand/pxeboot/devopen.c | 6 +-
sys/arch/i386/stand/pxeboot/pxe.c | 4 +-
sys/arch/ia64/ia64/mca.c | 4 +-
sys/arch/ia64/ia64/pmap.c | 6 +-
sys/arch/ia64/stand/common/bcache.c | 6 +-
sys/arch/ia64/stand/common/dev_net.c | 6 +-
sys/arch/ia64/stand/common/interp_parse.c | 4 +-
sys/arch/ia64/stand/efi/libefi/copy.c | 6 +-
sys/arch/ia64/stand/efi/libefi/efinet.c | 6 +-
sys/arch/ia64/stand/ia64/ski/copy.c | 6 +-
sys/arch/luna68k/dev/lunaws.c | 6 +-
sys/arch/luna68k/dev/siotty.c | 6 +-
sys/arch/luna68k/luna68k/disksubr.c | 8 ++--
sys/arch/luna68k/luna68k/machdep.c | 6 +-
sys/arch/luna68k/luna68k/trap.c | 8 ++--
sys/arch/mac68k/mac68k/machdep.c | 6 +-
sys/arch/mac68k/mac68k/trap.c | 8 ++--
sys/arch/macppc/dev/zs_kgdb.c | 6 +-
sys/arch/mips/sibyte/dev/sbmac.c | 8 ++--
sys/arch/next68k/dev/if_xe.c | 6 +-
sys/arch/next68k/dev/mb8795.c | 6 +-
sys/arch/next68k/next68k/machdep.c | 6 +-
sys/arch/next68k/next68k/trap.c | 8 ++--
sys/arch/next68k/stand/boot/en.c | 6 +-
sys/arch/sparc/stand/bootxx/bootxx.c | 6 +-
sys/arch/sparc/stand/ofwboot/boot.c | 6 +-
sys/arch/sparc/stand/ofwboot/ofdev.c | 10 ++--
sys/arch/sparc64/sparc64/pmap.c | 6 +-
sys/arch/vax/boot/boot/boot.c | 4 +-
sys/arch/vax/boot/boot/if_de.c | 8 ++--
sys/arch/vax/boot/boot/if_ni.c | 6 +-
sys/arch/vax/boot/boot/if_qe.c | 4 +-
sys/arch/vax/boot/boot/if_ze.c | 4 +-
sys/arch/vax/boot/boot/mfm.c | 10 ++--
sys/arch/vax/boot/boot/netio.c | 4 +-
sys/arch/vax/if/if_le.c | 6 +-
sys/arch/vax/if/if_le_vsbus.c | 6 +-
sys/arch/vax/uba/qv.c | 12 +++---
sys/arch/vax/vax/db_machdep.c | 18 ++++----
sys/arch/vax/vax/disksubr.c | 6 +-
sys/arch/vax/vax/machdep.c | 8 ++--
sys/arch/vax/vax/pmap.c | 8 ++--
sys/arch/vax/vsa/hdc9224.c | 6 +-
sys/arch/vax/vsa/smg.c | 12 +++---
sys/arch/vax/vsa/vsbus.c | 8 ++--
sys/arch/x86/acpi/acpi_wakeup.c | 8 ++--
83 files changed, 346 insertions(+), 346 deletions(-)
diffs (truncated from 2895 to 300 lines):
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/amiga/amiga_init.c
--- a/sys/arch/amiga/amiga/amiga_init.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/amiga/amiga_init.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: amiga_init.c,v 1.109 2009/03/18 17:06:41 cegger Exp $ */
+/* $NetBSD: amiga_init.c,v 1.110 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1994 Michael L. Hitch
@@ -36,7 +36,7 @@
#include "opt_devreload.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.109 2009/03/18 17:06:41 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: amiga_init.c,v 1.110 2009/10/26 19:16:54 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -955,7 +955,7 @@
{
*((int*)dest) = ncfdev;
dest += 4;
- memcpy( dest, cfdev, ncfdev * sizeof(struct cfdev)
+ memcpy(dest, cfdev, ncfdev * sizeof(struct cfdev)
+ memlist->m_nseg * sizeof(struct boot_memseg) + 4);
}
@@ -1101,7 +1101,7 @@
if (kernel_image == NULL)
panic("kernel_reload failed second malloc");
for (c = 0; c < kernel_load_ofs; c += MAXPHYS)
- memcpy( kernel_image + c, kernel_image_copy + c,
+ memcpy(kernel_image + c, kernel_image_copy + c,
(kernel_load_ofs - c) > MAXPHYS ? MAXPHYS :
kernel_load_ofs - c);
#endif
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/fd.c
--- a/sys/arch/amiga/dev/fd.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/fd.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fd.c,v 1.82 2009/03/18 17:06:41 cegger Exp $ */
+/* $NetBSD: fd.c,v 1.83 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.82 2009/03/18 17:06:41 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.83 2009/10/26 19:16:54 cegger Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -805,7 +805,7 @@
error = EINVAL;
goto nolabel;
}
- memcpy( lp, dlp, sizeof(struct disklabel));
+ memcpy(lp, dlp, sizeof(struct disklabel));
if (lp->d_trkseek > FDSTEPDELAY)
sc->stepdelay = lp->d_trkseek;
brelse(bp, 0);
@@ -873,7 +873,7 @@
(pp->p_frag * pp->p_fsize % PAGE_SIZE))
return(EINVAL);
done:
- memcpy( clp, lp, sizeof(struct disklabel));
+ memcpy(clp, lp, sizeof(struct disklabel));
return(0);
}
@@ -909,7 +909,7 @@
* copy disklabel to buf and write it out synchronous
*/
dlp = (struct disklabel *)((char*)bp->b_data + LABELOFFSET);
- memcpy( dlp, lp, sizeof(struct disklabel));
+ memcpy(dlp, lp, sizeof(struct disklabel));
bp->b_blkno = 0;
bp->b_cylinder = 0;
bp->b_flags &= ~(B_READ);
@@ -1555,9 +1555,9 @@
sz *= FDSECSIZE;
sz = min(dp->b_bcount, sz);
if (bp->b_flags & B_READ)
- memcpy( dp->b_data, data, sz);
+ memcpy(dp->b_data, data, sz);
else {
- memcpy( data, dp->b_data, sz);
+ memcpy(data, dp->b_data, sz);
sc->flags |= FDF_DIRTY;
}
bp->b_resid = dp->b_bcount - sz;
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/grf.c
--- a/sys/arch/amiga/dev/grf.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/grf.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf.c,v 1.51 2009/03/18 17:06:41 cegger Exp $ */
+/* $NetBSD: grf.c,v 1.52 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1990 The Regents of the University of California.
@@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.51 2009/03/18 17:06:41 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf.c,v 1.52 2009/10/26 19:16:54 cegger Exp $");
/*
* Graphics display driver for the Amiga
@@ -247,10 +247,10 @@
switch (cmd) {
case OGRFIOCGINFO:
/* argl.. no bank-member.. */
- memcpy( data, (void *)&gp->g_display, sizeof(struct grfinfo)-4);
+ memcpy(data, (void *)&gp->g_display, sizeof(struct grfinfo)-4);
break;
case GRFIOCGINFO:
- memcpy( data, (void *)&gp->g_display, sizeof(struct grfinfo));
+ memcpy(data, (void *)&gp->g_display, sizeof(struct grfinfo));
break;
case GRFIOCON:
error = grfon(dev);
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/grf_cc.c
--- a/sys/arch/amiga/dev/grf_cc.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/grf_cc.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_cc.c,v 1.37 2009/03/18 17:06:42 cegger Exp $ */
+/* $NetBSD: grf_cc.c,v 1.38 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1994 Christian E. Hopps
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf_cc.c,v 1.37 2009/03/18 17:06:42 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf_cc.c,v 1.38 2009/10/26 19:16:54 cegger Exp $");
#include "grfcc.h"
#if NGRFCC > 0
@@ -130,7 +130,7 @@
* we inited earlier just copy the info
* take care not to copy the device struct though.
*/
- memcpy( &gp->g_display, &congrf.g_display,
+ memcpy(&gp->g_display, &congrf.g_display,
(char *)&gp[1] - (char *)&gp->g_display);
} else {
gp->g_unit = GRF_CC_UNIT;
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/grf_cl.c
--- a/sys/arch/amiga/dev/grf_cl.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/grf_cl.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_cl.c,v 1.44 2009/03/18 17:06:42 cegger Exp $ */
+/* $NetBSD: grf_cl.c,v 1.45 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1997 Klaus Burkert
@@ -36,7 +36,7 @@
#include "opt_amigacons.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf_cl.c,v 1.44 2009/03/18 17:06:42 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf_cl.c,v 1.45 2009/10/26 19:16:54 cegger Exp $");
#include "grfcl.h"
#if NGRFCL > 0
@@ -358,7 +358,7 @@
/*
* inited earlier, just copy (not device struct)
*/
- memcpy( &gp->g_display, &congrf.g_display,
+ memcpy(&gp->g_display, &congrf.g_display,
(char *) &gp[1] - (char *) &gp->g_display);
} else {
gp->g_regkva = (volatile void *) cl_regaddr;
@@ -598,7 +598,7 @@
#ifdef CL5426CONSOLE
/* Handle grabbing console mode */
if (vm->mode_num == 255) {
- memcpy( vm, &clconsole_mode, sizeof(struct grfvideo_mode));
+ memcpy(vm, &clconsole_mode, sizeof(struct grfvideo_mode));
/* XXX so grfconfig can tell us the correct text dimensions. */
vm->depth = clconsole_mode.fy;
} else
@@ -612,7 +612,7 @@
if (gv->mode_num == 0)
return (EINVAL);
- memcpy( vm, gv, sizeof(struct grfvideo_mode));
+ memcpy(vm, gv, sizeof(struct grfvideo_mode));
}
/* adjust internal values to pixel values */
@@ -934,9 +934,9 @@
copyin(data->cmap.red, red, 2);
copyin(data->cmap.green, green, 2);
copyin(data->cmap.blue, blue, 2);
- memcpy( cl_cursprite.cmap.red, red, 2);
- memcpy( cl_cursprite.cmap.green, green, 2);
- memcpy( cl_cursprite.cmap.blue, blue, 2);
+ memcpy(cl_cursprite.cmap.red, red, 2);
+ memcpy(cl_cursprite.cmap.green, green, 2);
+ memcpy(cl_cursprite.cmap.blue, blue, 2);
/* enable and load colors 256 & 257 */
WSeq(ba, SEQ_ID_CURSOR_ATTR, 0x06);
@@ -1018,7 +1018,7 @@
#ifdef CL5426CONSOLE
/* handle interactive setting of console mode */
if (gv->mode_num == 255) {
- memcpy( &clconsole_mode.gv, gv, sizeof(struct grfvideo_mode));
+ memcpy(&clconsole_mode.gv, gv, sizeof(struct grfvideo_mode));
clconsole_mode.gv.hblank_start /= 8;
clconsole_mode.gv.hsync_start /= 8;
clconsole_mode.gv.hsync_stop /= 8;
@@ -1033,7 +1033,7 @@
#endif
md = monitor_def + (gv->mode_num - 1);
- memcpy( md, gv, sizeof(struct grfvideo_mode));
+ memcpy(md, gv, sizeof(struct grfvideo_mode));
/* adjust pixel oriented values to internal rep. */
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/grf_cv.c
--- a/sys/arch/amiga/dev/grf_cv.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/grf_cv.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_cv.c,v 1.47 2009/03/18 17:06:42 cegger Exp $ */
+/* $NetBSD: grf_cv.c,v 1.48 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@@ -33,7 +33,7 @@
#include "opt_amigacons.h"
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: grf_cv.c,v 1.47 2009/03/18 17:06:42 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: grf_cv.c,v 1.48 2009/10/26 19:16:54 cegger Exp $");
#include "grfcv.h"
#if NGRFCV > 0
@@ -451,7 +451,7 @@
*/
printf("\n");
- memcpy( &gp->g_display, &congrf.gcs_sc.g_display,
+ memcpy(&gp->g_display, &congrf.gcs_sc.g_display,
(char *) &gcp->gcs_isr - (char *) &gp->g_display);
/* ... and transfer the isr */
@@ -839,7 +839,7 @@
#ifdef CV64CONSOLE
/* Handle grabbing console mode */
if (vm->mode_num == 255) {
- memcpy( vm, &cvconsole_mode, sizeof(struct grfvideo_mode));
+ memcpy(vm, &cvconsole_mode, sizeof(struct grfvideo_mode));
/* XXX so grfconfig can tell us the correct text dimensions. */
vm->depth = cvconsole_mode.fy;
} else
@@ -853,7 +853,7 @@
if (gv->mode_num == 0)
return (EINVAL);
- memcpy( vm, gv, sizeof(struct grfvideo_mode));
+ memcpy(vm, gv, sizeof(struct grfvideo_mode));
}
/* adjust internal values to pixel values */
@@ -1006,7 +1006,7 @@
#ifdef CV64CONSOLE
/* handle interactive setting of console mode */
if (gv->mode_num == 255) {
- memcpy( &cvconsole_mode.gv, gv, sizeof(struct grfvideo_mode));
+ memcpy(&cvconsole_mode.gv, gv, sizeof(struct grfvideo_mode));
cvconsole_mode.gv.hblank_start /= 8;
cvconsole_mode.gv.hsync_start /= 8;
cvconsole_mode.gv.hsync_stop /= 8;
@@ -1032,7 +1032,7 @@
return (EINVAL);
}
- memcpy( md, gv, sizeof(struct grfvideo_mode));
+ memcpy(md, gv, sizeof(struct grfvideo_mode));
/* adjust pixel oriented values to internal rep. */
diff -r 63612dadfd8c -r 20b508ced631 sys/arch/amiga/dev/grf_cv3d.c
--- a/sys/arch/amiga/dev/grf_cv3d.c Mon Oct 26 19:03:17 2009 +0000
+++ b/sys/arch/amiga/dev/grf_cv3d.c Mon Oct 26 19:16:54 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: grf_cv3d.c,v 1.24 2009/03/18 17:06:42 cegger Exp $ */
+/* $NetBSD: grf_cv3d.c,v 1.25 2009/10/26 19:16:54 cegger Exp $ */
/*
* Copyright (c) 1995 Michael Teske
@@ -33,7 +33,7 @@
Home |
Main Index |
Thread Index |
Old Index