summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-24 05:02:14 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2001-06-24 05:02:14 +0000
commitde1a2f3eb2dea0a51c4a4d168ac867a3ecf43bd7 (patch)
tree6bfaab138386828f47079d463f800c64168b85dc
parent054b4f11750f6fb7bb997a48ff890bd8b0e100ac (diff)
Add cold as extern; makes kernel compiles again. bad mickey!
-rw-r--r--sys/arch/i386/i386/apm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/apm.c b/sys/arch/i386/i386/apm.c
index 94860544e1b..64b91c79349 100644
--- a/sys/arch/i386/i386/apm.c
+++ b/sys/arch/i386/i386/apm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: apm.c,v 1.46 2001/06/23 23:13:39 mickey Exp $ */
+/* $OpenBSD: apm.c,v 1.47 2001/06/24 05:02:13 fgsch Exp $ */
/*-
* Copyright (c) 1998-2000 Michael Shalayeff. All rights reserved.
@@ -317,6 +317,8 @@ apm_power_print (sc, regs)
void
apm_suspend()
{
+ extern int cold;
+
dopowerhooks(PWR_SUSPEND);
if (cold)
@@ -328,6 +330,8 @@ apm_suspend()
void
apm_standby()
{
+ extern int cold;
+
dopowerhooks(PWR_STANDBY);
if (cold)