Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/bebox/stand/boot Style.
details: https://anonhg.NetBSD.org/src/rev/31751ffc9a0d
branches: trunk
changeset: 762664:31751ffc9a0d
user: kiyohara <kiyohara%NetBSD.org@localhost>
date: Fri Feb 25 10:12:44 2011 +0000
description:
Style.
diffstat:
sys/arch/bebox/stand/boot/prf.c | 6 ++++--
sys/arch/bebox/stand/boot/tgets.c | 10 +++++-----
2 files changed, 9 insertions(+), 7 deletions(-)
diffs (62 lines):
diff -r 5ca67caf0677 -r 31751ffc9a0d sys/arch/bebox/stand/boot/prf.c
--- a/sys/arch/bebox/stand/boot/prf.c Fri Feb 25 10:06:24 2011 +0000
+++ b/sys/arch/bebox/stand/boot/prf.c Fri Feb 25 10:12:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: prf.c,v 1.9 2009/03/18 10:22:27 cegger Exp $ */
+/* $NetBSD: prf.c,v 1.10 2011/02/25 10:12:44 kiyohara Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@@ -35,11 +35,13 @@
void
putchar(int c)
{
+
cnputc(c);
}
int
getchar(void)
{
- return (cngetc());
+
+ return cngetc();
}
diff -r 5ca67caf0677 -r 31751ffc9a0d sys/arch/bebox/stand/boot/tgets.c
--- a/sys/arch/bebox/stand/boot/tgets.c Fri Feb 25 10:06:24 2011 +0000
+++ b/sys/arch/bebox/stand/boot/tgets.c Fri Feb 25 10:12:44 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tgets.c,v 1.7 2009/03/14 15:36:04 dsl Exp $ */
+/* $NetBSD: tgets.c,v 1.8 2011/02/25 10:12:44 kiyohara Exp $ */
/*-
* Copyright (c) 1993
@@ -50,7 +50,7 @@
goto next;
delay(SCANWAIT);
}
- return (-1);
+ return -1;
next:
#else
c = getchar();
@@ -71,7 +71,7 @@
putchar('\b');
}
break;
- case 'r'&037: {
+ case 'r' & 037: {
register char *p;
putchar('\n');
@@ -79,8 +79,8 @@
putchar(*p);
break;
}
- case 'u'&037:
- case 'w'&037:
+ case 'u' & 037:
+ case 'w' & 037:
lp = buf;
putchar('\n');
break;
Home |
Main Index |
Thread Index |
Old Index