summaryrefslogtreecommitdiff
path: root/sys/arch/macppc/dev/adb.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-15 02:02:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-15 02:02:45 +0000
commit8c8e2c846f8262a3603ec796149262b47740ecae (patch)
tree34e49ae4689a6115c9c2cdaeebc102d194fddf67 /sys/arch/macppc/dev/adb.c
parent6a5ac86b44e1672a17310a61c8331dafeca2e085 (diff)
KNF
Diffstat (limited to 'sys/arch/macppc/dev/adb.c')
-rw-r--r--sys/arch/macppc/dev/adb.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys/arch/macppc/dev/adb.c b/sys/arch/macppc/dev/adb.c
index ed6bd866dc0..16c506ced21 100644
--- a/sys/arch/macppc/dev/adb.c
+++ b/sys/arch/macppc/dev/adb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adb.c,v 1.5 2002/06/07 07:14:48 miod Exp $ */
+/* $OpenBSD: adb.c,v 1.6 2002/09/15 02:02:43 deraadt Exp $ */
/* $NetBSD: adb.c,v 1.6 1999/08/16 06:28:09 tsubai Exp $ */
/*-
@@ -60,7 +60,7 @@ int adbprint(void *, const char *);
/*
* Global variables.
*/
-int adb_polling; /* Are we polling? (Debugger mode) */
+int adb_polling; /* Are we polling? (Debugger mode) */
#ifdef ADB_DEBUG
int adb_debug; /* Output debugging messages */
#endif /* ADB_DEBUG */
@@ -100,7 +100,7 @@ adbmatch(parent, cf, aux)
/* HACK ALERT */
typedef int (clock_read_t)(int *sec, int *min, int *hour, int *day,
- int *mon, int *yr);
+ int *mon, int *yr);
typedef int (time_read_t)(u_long *sec);
typedef int (time_write_t)(u_long sec);
extern time_read_t *time_read;
@@ -158,9 +158,8 @@ adbattach(parent, self, aux)
printf(": via-pmu ");
break;
}
-
+
printf("%d targets\n", totaladbs);
-
#if NAED > 0
/* ADB event device for compatibility */
@@ -209,7 +208,7 @@ adbprint(args, name)
/* print out what kind of ADB device we have found */
printf("%s addr %d: ", name, aa_args->adbaddr);
- switch(aa_args->origaddr) {
+ switch (aa_args->origaddr) {
#ifdef DIAGNOSTIC
#if NAED > 0
case 0:
@@ -264,7 +263,7 @@ adbprint(args, name)
#endif /* DIAGNOSTIC */
}
} else /* a device matched and was configured */
- printf(" addr %d: ", aa_args->adbaddr);
+ printf(" addr %d: ", aa_args->adbaddr);
return rv;
}