summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-06 17:33:33 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-06 17:33:33 +0000
commit0e2c6f2c3ea869ca7aeb414c7d7d96ed24b76e8b (patch)
treecc729eedfc991621bf9dd111c7addeaccd10e8e7 /sys/arch
parent1fccb849f8441001200bc3849bb5c6eeeab228e7 (diff)
Please gcc 2.8
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hp300/dev/hil.c7
-rw-r--r--sys/arch/hp300/hp300/machdep.c4
2 files changed, 6 insertions, 5 deletions
diff --git a/sys/arch/hp300/dev/hil.c b/sys/arch/hp300/dev/hil.c
index 394529dd3d0..1e6a3afec7a 100644
--- a/sys/arch/hp300/dev/hil.c
+++ b/sys/arch/hp300/dev/hil.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: hil.c,v 1.10 1997/04/16 11:56:07 downsj Exp $ */
+/* $OpenBSD: hil.c,v 1.11 1998/03/06 17:33:30 millert Exp $ */
/* $NetBSD: hil.c,v 1.34 1997/04/02 22:37:32 scottr Exp $ */
/*
@@ -882,12 +882,13 @@ hil_process_int(hilp, stat, c)
case HIL_DATA:
if (hilp->hl_actdev != 0) /* Collecting poll data */
*hilp->hl_pollbp++ = c;
- else if (hilp->hl_cmddev != 0) /* Collecting cmd data */
+ else if (hilp->hl_cmddev != 0) { /* Collecting cmd data */
if (hilp->hl_cmdending) {
hilp->hl_cmddone = TRUE;
hilp->hl_cmdending = FALSE;
- } else
+ } else
*hilp->hl_cmdbp++ = c;
+ }
return;
case 0: /* force full jump table */
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c
index 236f9c5a4e2..0768a9834d8 100644
--- a/sys/arch/hp300/hp300/machdep.c
+++ b/sys/arch/hp300/hp300/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.30 1998/02/09 06:26:19 dima Exp $ */
+/* $OpenBSD: machdep.c,v 1.31 1998/03/06 17:33:32 millert Exp $ */
/* $NetBSD: machdep.c,v 1.94 1997/06/12 15:46:29 mrg Exp $ */
/*
@@ -1303,7 +1303,7 @@ cpu_exec_aout_makecmds(p, epp)
int error;
struct exec *execp = epp->ep_hdr;
#ifdef COMPAT_SUNOS
- extern sunos_exec_aout_makecmds
+ extern int sunos_exec_aout_makecmds
__P((struct proc *, struct exec_package *));
#endif