summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorryker <ryker@cvs.openbsd.org>1998-03-03 04:54:48 +0000
committerryker <ryker@cvs.openbsd.org>1998-03-03 04:54:48 +0000
commita0d1d22c487fda6fe2be251d5266d87c9b79102a (patch)
treeef1f960156f26609dcc47bf8d73d56d1f9ad6bfa /sys/arch/mac68k
parenta8fdf9d8216228ee4ab92d5dabd17a9eb494c948 (diff)
GCC 2.8 -Wall
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/z8530tty.c6
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/arch/mac68k/dev/z8530tty.c b/sys/arch/mac68k/dev/z8530tty.c
index 18f74bcb0f8..fec15397ad3 100644
--- a/sys/arch/mac68k/dev/z8530tty.c
+++ b/sys/arch/mac68k/dev/z8530tty.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: z8530tty.c,v 1.9 1997/03/12 22:51:42 briggs Exp $ */
+/* $OpenBSD: z8530tty.c,v 1.10 1998/03/03 04:54:47 ryker Exp $ */
/* $NetBSD: z8530tty.c,v 1.10 1996/12/18 05:17:44 scottr Exp $ */
/*
@@ -1017,12 +1017,12 @@ zshwiflow(tp, stop)
* This loop checks to see that we can in fact control input.
* If not, then do little except tell the upper layer the truth.
*/
- if (zst->zst_hwimask == 0)
+ if (zst->zst_hwimask == 0) {
if (stop)
return 0;
else
return 1; /* yes, w/o hwi we can unblock input. ;-) */
-
+ }
s = splzs();
if (stop) {
/*
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 6cc1ba73cbf..185ec870153 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.48 1998/03/03 04:30:09 ryker Exp $ */
+/* $OpenBSD: machdep.c,v 1.49 1998/03/03 04:54:22 ryker Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -371,12 +371,12 @@ again:
* memory. Insure a minimum of 16 buffers.
* We allocate 1/2 as many swap buffer headers as file i/o buffers.
*/
- if (bufpages == 0)
+ if (bufpages == 0) {
if (physmem < btoc(2 * 1024 * 1024))
bufpages = physmem / 10 / CLSIZE;
else
bufpages = (btoc(2 * 1024 * 1024) + physmem) / 20 / CLSIZE;
-
+ }
bufpages = min(NKMEMCLUSTERS * 2 / 5, bufpages);
if (nbuf == 0) {