summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-09 20:13:11 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-06-09 20:13:11 +0000
commit53fb7c67e695643c91d9cfcbd9c85786ac8e5038 (patch)
tree58926add4a2eb2dc44d6d874bffb29abe9282b98
parentf5ab5fbbc994e5197e8b9a9d36e316d08b172dc7 (diff)
pull in KNF from SMP
-rw-r--r--sys/arch/i386/eisa/eisa_machdep.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/i386/eisa/eisa_machdep.c b/sys/arch/i386/eisa/eisa_machdep.c
index 332a921ec65..178950e9e86 100644
--- a/sys/arch/i386/eisa/eisa_machdep.c
+++ b/sys/arch/i386/eisa/eisa_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eisa_machdep.c,v 1.6 2003/05/04 08:01:08 deraadt Exp $ */
+/* $OpenBSD: eisa_machdep.c,v 1.7 2004/06/09 20:13:10 deraadt Exp $ */
/* $NetBSD: eisa_machdep.c,v 1.6 1997/06/06 23:12:52 thorpej Exp $ */
/*-
@@ -137,7 +137,7 @@ eisa_intr_map(ec, irq, ihp)
if (irq >= ICU_LEN) {
printf("eisa_intr_map: bad IRQ %d\n", irq);
*ihp = -1;
- return 1;
+ return (1);
}
if (irq == 2) {
printf("eisa_intr_map: changed IRQ 2 to IRQ 9\n");
@@ -145,7 +145,7 @@ eisa_intr_map(ec, irq, ihp)
}
*ihp = irq;
- return 0;
+ return (0);
}
const char *
@@ -153,7 +153,7 @@ eisa_intr_string(ec, ih)
eisa_chipset_tag_t ec;
eisa_intr_handle_t ih;
{
- static char irqstr[8]; /* 4 + 2 + NULL + sanity */
+ static char irqstr[8]; /* 4 + 2 + NUL + sanity */
if (ih == 0 || ih >= ICU_LEN || ih == 2)
panic("eisa_intr_string: bogus handle 0x%x", ih);
@@ -175,7 +175,7 @@ eisa_intr_establish(ec, ih, type, level, func, arg, what)
if (ih == 0 || ih >= ICU_LEN || ih == 2)
panic("eisa_intr_establish: bogus handle 0x%x", ih);
- return isa_intr_establish(NULL, ih, type, level, func, arg, what);
+ return (isa_intr_establish(NULL, ih, type, level, func, arg, what));
}
void
@@ -184,5 +184,5 @@ eisa_intr_disestablish(ec, cookie)
void *cookie;
{
- return isa_intr_disestablish(NULL, cookie);
+ return (isa_intr_disestablish(NULL, cookie));
}