diff options
-rw-r--r-- | sys/arch/i386/i386/apm.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/include/apmvar.h | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c index 64b91c79349..ca6b9f5e305 100644 --- a/sys/arch/i386/i386/apm.c +++ b/sys/arch/i386/i386/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.47 2001/06/24 05:02:13 fgsch Exp $ */ +/* $OpenBSD: apm.c,v 1.48 2001/06/24 20:38:04 fgsch Exp $ */ /*- * Copyright (c) 1998-2000 Michael Shalayeff. All rights reserved. @@ -317,8 +317,6 @@ apm_power_print (sc, regs) void apm_suspend() { - extern int cold; - dopowerhooks(PWR_SUSPEND); if (cold) @@ -330,8 +328,6 @@ apm_suspend() void apm_standby() { - extern int cold; - dopowerhooks(PWR_STANDBY); if (cold) diff --git a/sys/arch/i386/include/apmvar.h b/sys/arch/i386/include/apmvar.h index 62ba5f61866..346118170b5 100644 --- a/sys/arch/i386/include/apmvar.h +++ b/sys/arch/i386/include/apmvar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: apmvar.h,v 1.10 2000/06/07 22:25:47 mickey Exp $ */ +/* $OpenBSD: apmvar.h,v 1.11 2001/06/24 20:38:06 fgsch Exp $ */ /* * Copyright (c) 1995 John T. Kohl @@ -291,6 +291,7 @@ struct apm_ctl { if the percentage changes */ #ifdef _KERNEL +extern int cold; extern void apm_cpu_busy __P((void)); extern void apm_cpu_idle __P((void)); extern void apminit __P((void)); |