summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libbug/putchar.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mvme88k/stand/libbug/putchar.c')
-rw-r--r--sys/arch/mvme88k/stand/libbug/putchar.c18
1 files changed, 8 insertions, 10 deletions
diff --git a/sys/arch/mvme88k/stand/libbug/putchar.c b/sys/arch/mvme88k/stand/libbug/putchar.c
index a097e36f5b4..1968152875e 100644
--- a/sys/arch/mvme88k/stand/libbug/putchar.c
+++ b/sys/arch/mvme88k/stand/libbug/putchar.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: putchar.c,v 1.3 2003/09/07 21:35:35 miod Exp $ */
+/* $OpenBSD: putchar.c,v 1.4 2006/05/16 22:51:30 miod Exp $ */
/*
* putchar: easier to do this with outstr than to add more macros to
@@ -13,14 +13,12 @@
void
putchar(c)
-
-int c;
-
+ int c;
{
- char ca;
- ca = (char)c & 0xFF;
- if (ca == '\n')
- putchar('\r');
- asm volatile ("or r2,r0,%0" : : "r" (ca));
- MVMEPROM_CALL(MVMEPROM_OUTCHR);
+ char ca;
+ ca = (char)c & 0xFF;
+ if (ca == '\n')
+ putchar('\r');
+ asm volatile ("or r2,r0,%0" : : "r" (ca));
+ MVMEPROM_CALL(MVMEPROM_OUTCHR);
}