diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-16 06:41:28 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2022-02-16 06:41:28 +0000 |
commit | 0090144ee53456478a2025fd9d60d83610c1a211 (patch) | |
tree | e027f6b0abb17dec258c114b1713c979b4a66817 /sys/arch/macppc/dev/apm.c | |
parent | ba93eed72096645fb3ff4322eee1d427d53bc95f (diff) |
change MD gosleep() and sleep_finish() to return int, the MI code will be
able to react to this suitably.
Diffstat (limited to 'sys/arch/macppc/dev/apm.c')
-rw-r--r-- | sys/arch/macppc/dev/apm.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/macppc/dev/apm.c b/sys/arch/macppc/dev/apm.c index 3cfa6c8fcd8..a50d2140c79 100644 --- a/sys/arch/macppc/dev/apm.c +++ b/sys/arch/macppc/dev/apm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: apm.c,v 1.31 2022/02/15 21:17:12 deraadt Exp $ */ +/* $OpenBSD: apm.c,v 1.32 2022/02/16 06:41:27 deraadt Exp $ */ /*- * Copyright (c) 2001 Alexander Guy. All rights reserved. @@ -377,14 +377,16 @@ sleep_resume(void *v) return 0; } -void +int gosleep(void *v) { + return EOPNOTSUPP; } -void +int suspend_finish(void *v) { + return 0; } #endif /* SUSPEND */ |