From: jsg Date: Wed, 19 Jun 2024 13:27:26 +0000 (+0000) Subject: remove externs for global hibernate_state X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1edb6294a762f6384eba7bcc9c4b5ac1e44b63cc;p=openbsd remove externs for global hibernate_state removed in subr_hibernate.c rev 1.35 --- diff --git a/sys/arch/amd64/amd64/hibernate_machdep.c b/sys/arch/amd64/amd64/hibernate_machdep.c index db59d086636..98e3ff3e7f9 100644 --- a/sys/arch/amd64/amd64/hibernate_machdep.c +++ b/sys/arch/amd64/amd64/hibernate_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_machdep.c,v 1.51 2024/06/05 04:58:05 mglocker Exp $ */ +/* $OpenBSD: hibernate_machdep.c,v 1.52 2024/06/19 13:27:26 jsg Exp $ */ /* * Copyright (c) 2012 Mike Larkin @@ -61,7 +61,6 @@ extern caddr_t start, end; extern int mem_cluster_cnt; extern phys_ram_seg_t mem_clusters[]; extern bios_memmap_t *bios_memmap; -extern struct hibernate_state *hibernate_state; /* * amd64 MD Hibernate functions diff --git a/sys/arch/i386/i386/hibernate_machdep.c b/sys/arch/i386/i386/hibernate_machdep.c index 2e1be187544..cccda268c69 100644 --- a/sys/arch/i386/i386/hibernate_machdep.c +++ b/sys/arch/i386/i386/hibernate_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_machdep.c,v 1.61 2023/01/30 10:49:05 jsg Exp $ */ +/* $OpenBSD: hibernate_machdep.c,v 1.62 2024/06/19 13:27:26 jsg Exp $ */ /* * Copyright (c) 2011 Mike Larkin @@ -52,7 +52,6 @@ extern caddr_t start, end; extern int ndumpmem; extern struct dumpmem dumpmem[]; extern bios_memmap_t *bios_memmap; -extern struct hibernate_state *hibernate_state; /* * Hibernate always uses non-PAE page tables during resume, so