summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorryker <ryker@cvs.openbsd.org>1998-03-03 04:30:12 +0000
committerryker <ryker@cvs.openbsd.org>1998-03-03 04:30:12 +0000
commita8fdf9d8216228ee4ab92d5dabd17a9eb494c948 (patch)
tree629c37e70d580475290a36c5edb798ed2b0a7374 /sys/arch
parentd8f0c8a6f301cb50abea80a37d12808a45bd133b (diff)
GCC 2.8 -Wall
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/mac68k/dev/adb.c4
-rw-r--r--sys/arch/mac68k/mac68k/machdep.c6
-rw-r--r--sys/arch/mac68k/mac68k/vm_machdep.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/mac68k/dev/adb.c b/sys/arch/mac68k/dev/adb.c
index db2224f0821..19e6f237e93 100644
--- a/sys/arch/mac68k/dev/adb.c
+++ b/sys/arch/mac68k/dev/adb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adb.c,v 1.9 1997/04/06 02:59:57 briggs Exp $ */
+/* $OpenBSD: adb.c,v 1.10 1998/03/03 04:29:44 ryker Exp $ */
/* $NetBSD: adb.c,v 1.13 1996/12/16 16:17:02 scottr Exp $ */
/*-
@@ -205,7 +205,7 @@ adb_dokeyupdown(event)
adb_handoff(event);
}
-static adb_ms_buttons = 0;
+static int adb_ms_buttons = 0;
void
adb_keymaybemouse(event)
diff --git a/sys/arch/mac68k/mac68k/machdep.c b/sys/arch/mac68k/mac68k/machdep.c
index 2007aee2044..6cc1ba73cbf 100644
--- a/sys/arch/mac68k/mac68k/machdep.c
+++ b/sys/arch/mac68k/mac68k/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.47 1998/02/26 15:45:10 gene Exp $ */
+/* $OpenBSD: machdep.c,v 1.48 1998/03/03 04:30:09 ryker Exp $ */
/* $NetBSD: machdep.c,v 1.134 1997/02/14 06:15:30 scottr Exp $ */
/*
@@ -217,7 +217,7 @@ int safepri = PSL_LOWIPL;
*/
static long iomem_ex_storage[EXTENT_FIXED_STORAGE_SIZE(8) / sizeof(long)];
struct extent *iomem_ex;
-static iomem_malloc_safe;
+static int iomem_malloc_safe;
static void identifycpu __P((void));
static u_long get_physical __P((u_int, u_long *));
@@ -237,7 +237,7 @@ int bus_mem_add_mapping __P((bus_addr_t, bus_size_t,
*/
static long iomem_ex_storage[EXTENT_FIXED_STORAGE_SIZE(8) / sizeof(long)];
struct extent *iomem_ex;
-static iomem_malloc_safe;
+static int iomem_malloc_safe;
static void identifycpu __P((void));
static u_long get_physical __P((u_int, u_long *));
diff --git a/sys/arch/mac68k/mac68k/vm_machdep.c b/sys/arch/mac68k/mac68k/vm_machdep.c
index c156be2c28a..c889ae0f50b 100644
--- a/sys/arch/mac68k/mac68k/vm_machdep.c
+++ b/sys/arch/mac68k/mac68k/vm_machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vm_machdep.c,v 1.8 1997/03/12 13:29:38 briggs Exp $ */
+/* $OpenBSD: vm_machdep.c,v 1.9 1998/03/03 04:30:11 ryker Exp $ */
/* $NetBSD: vm_machdep.c,v 1.21 1996/09/16 18:00:31 scottr Exp $ */
/*
@@ -175,7 +175,7 @@ cpu_coredump(p, vp, cred, chdr)
struct md_core md_core;
struct coreseg cseg;
register struct user *up = p->p_addr;
- register i;
+ register int i;
CORE_SETMAGIC(*chdr, COREMAGIC, MID_M68K, 0);
chdr->c_hdrsize = ALIGN(sizeof(*chdr));