Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/btattach Remove white-spaces.
details: https://anonhg.NetBSD.org/src/rev/43afe086a5a6
branches: trunk
changeset: 752871:43afe086a5a6
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Tue Mar 09 02:01:51 2010 +0000
description:
Remove white-spaces.
diffstat:
usr.sbin/btattach/btattach.c | 8 ++++----
usr.sbin/btattach/init_stlc2500.c | 6 +++---
usr.sbin/btattach/init_swave.c | 6 +++---
3 files changed, 10 insertions(+), 10 deletions(-)
diffs (90 lines):
diff -r 83e9765bb495 -r 43afe086a5a6 usr.sbin/btattach/btattach.c
--- a/usr.sbin/btattach/btattach.c Mon Mar 08 22:51:52 2010 +0000
+++ b/usr.sbin/btattach/btattach.c Tue Mar 09 02:01:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: btattach.c,v 1.10 2010/03/08 21:48:42 plunky Exp $ */
+/* $NetBSD: btattach.c,v 1.11 2010/03/09 02:01:51 kiyohara Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
__COPYRIGHT("@(#) Copyright (c) 2008 Iain Hibbert. All rights reserved.");
-__RCSID("$NetBSD: btattach.c,v 1.10 2010/03/08 21:48:42 plunky Exp $");
+__RCSID("$NetBSD: btattach.c,v 1.11 2010/03/09 02:01:51 kiyohara Exp $");
#include <sys/ioctl.h>
#include <sys/param.h>
@@ -331,7 +331,7 @@
static void
hexdump(uint8_t *ptr, size_t len)
{
-
+
while (len--)
printf(" %2.2x", *ptr++);
}
@@ -606,7 +606,7 @@
if ((size_t)n < sizeof(bcsp_lepkt))
continue;
for (j = 0; j < n - sizeof(bcsp_lepkt); j++) {
- for (k = 0; k < sizeof(bcsp_lepkt); k++)
+ for (k = 0; k < sizeof(bcsp_lepkt); k++)
if (buf[j + k] != bcsp_lepkt[k]) {
j += k;
break;
diff -r 83e9765bb495 -r 43afe086a5a6 usr.sbin/btattach/init_stlc2500.c
--- a/usr.sbin/btattach/init_stlc2500.c Mon Mar 08 22:51:52 2010 +0000
+++ b/usr.sbin/btattach/init_stlc2500.c Tue Mar 09 02:01:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_stlc2500.c,v 1.2 2009/12/06 12:31:07 kiyohara Exp $ */
+/* $NetBSD: init_stlc2500.c,v 1.3 2010/03/09 02:01:51 kiyohara Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: init_stlc2500.c,v 1.2 2009/12/06 12:31:07 kiyohara Exp $");
+__RCSID("$NetBSD: init_stlc2500.c,v 1.3 2010/03/09 02:01:51 kiyohara Exp $");
#include <bluetooth.h>
#include <err.h>
@@ -125,7 +125,7 @@
if (firmload_stlc2500(fd, rp.hci_revision, "ptc") < 0)
warn("no ROM patch file");
-
+
if (firmload_stlc2500(fd, rp.hci_revision, "ssf") < 0)
warn("no static settings file");
diff -r 83e9765bb495 -r 43afe086a5a6 usr.sbin/btattach/init_swave.c
--- a/usr.sbin/btattach/init_swave.c Mon Mar 08 22:51:52 2010 +0000
+++ b/usr.sbin/btattach/init_swave.c Tue Mar 09 02:01:51 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: init_swave.c,v 1.2 2009/04/15 00:32:23 lukem Exp $ */
+/* $NetBSD: init_swave.c,v 1.3 2010/03/09 02:01:51 kiyohara Exp $ */
/*-
* Copyright (c) 2008 Iain Hibbert
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__RCSID("$NetBSD: init_swave.c,v 1.2 2009/04/15 00:32:23 lukem Exp $");
+__RCSID("$NetBSD: init_swave.c,v 1.3 2010/03/09 02:01:51 kiyohara Exp $");
#include <bluetooth.h>
#include <err.h>
@@ -58,7 +58,7 @@
uint8_t d0; /* ? */
hci_param_access_set_cp cp;
} __attribute__ ((__packed__)) hci_param_access_set_rp;
-
+
void
init_swave(int fd, unsigned int speed)
{
Home |
Main Index |
Thread Index |
Old Index