From 6c3ef808d60891c572af2ad28a83e33387dd89e3 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Tue, 29 Sep 2015 20:24:26 +0000 Subject: 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. --- sys/arch/amd64/amd64/disksubr.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'sys/arch/amd64') 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 +bios_diskinfo_t *bios_getdiskinfo(dev_t dev); + /* * Attempt to read a disk label from a device * using the indicated strategy routine. -- cgit v1.2.3