From 8afb70fa3263bb65c25713bd3ac06b93478d985a Mon Sep 17 00:00:00 2001 From: simonb Date: Mon, 27 Apr 1998 06:10:32 +0000 Subject: [PATCH] Pull in declaration for the variable "cold" in dec_5100_memintr(). --- sys/arch/pmax/pmax/dec_5100.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/arch/pmax/pmax/dec_5100.c b/sys/arch/pmax/pmax/dec_5100.c index 7bc71a9c3344..132c10c0250c 100644 --- a/sys/arch/pmax/pmax/dec_5100.c +++ b/sys/arch/pmax/pmax/dec_5100.c @@ -1,4 +1,4 @@ -/* $NetBSD: dec_5100.c,v 1.1 1998/04/19 01:27:03 jonathan Exp $ */ +/* $NetBSD: dec_5100.c,v 1.2 1998/04/27 06:10:32 simonb Exp $ */ /* * Copyright (c) 1998 Jonathan Stone. All rights reserved. @@ -301,6 +301,7 @@ dec_5100_memintr() register volatile u_int icsr; register volatile u_int *icsr_addr = (volatile u_int *)MIPS_PHYS_TO_KSEG1(KN230_SYS_ICSR); + extern int cold; /* read icsr and clear error */ icsr = *icsr_addr;