summaryrefslogtreecommitdiff
path: root/sys/arch/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-09-29 20:24:26 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-09-29 20:24:26 +0000
commit6c3ef808d60891c572af2ad28a83e33387dd89e3 (patch)
treef8ea81117dbc6f0592a22da94d83114fe085a5f8 /sys/arch/amd64
parentba7759fc530a11e351cc5bd3b06a92b4b02a05d3 (diff)
Add missing prototype for bios_getdiskinfo() to amd64/disksubr.c.
Include systm.h inside #ifdef DEBUG in i386/disksubr.c, as amd64/disksubr.c. Makes amd64 and i386 disksubr.c identical once more.
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r--sys/arch/amd64/amd64/disksubr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/amd64/amd64/disksubr.c b/sys/arch/amd64/amd64/disksubr.c
index c8b0cf7efd0..327cbee4457 100644
--- a/sys/arch/amd64/amd64/disksubr.c
+++ b/sys/arch/amd64/amd64/disksubr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: disksubr.c,v 1.76 2015/09/27 18:03:18 krw Exp $ */
+/* $OpenBSD: disksubr.c,v 1.77 2015/09/29 20:24:25 krw Exp $ */
/* $NetBSD: disksubr.c,v 1.21 1996/05/03 19:42:03 christos Exp $ */
/*
@@ -44,6 +44,8 @@
#include <machine/biosvar.h>
+bios_diskinfo_t *bios_getdiskinfo(dev_t dev);
+
/*
* Attempt to read a disk label from a device
* using the indicated strategy routine.