From 3f9edfcd6c16fa9ee76196cb366ba73ec87777ee Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Thu, 24 Dec 2015 14:12:44 +0000 Subject: Add prototype for gpt_chk_mbr() to i386_installboot.c. Add 'static' to declarations of gpt_chk_mbr() to match prototypes in efidev.c and softraid.c. --- sys/arch/amd64/stand/efiboot/efidev.c | 4 ++-- sys/arch/amd64/stand/libsa/softraid.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/arch/amd64/stand') diff --git a/sys/arch/amd64/stand/efiboot/efidev.c b/sys/arch/amd64/stand/efiboot/efidev.c index 85e69eff7a6..fe798d9a92c 100644 --- a/sys/arch/amd64/stand/efiboot/efidev.c +++ b/sys/arch/amd64/stand/efiboot/efidev.c @@ -1,4 +1,4 @@ -/* $OpenBSD: efidev.c,v 1.11 2015/11/29 15:35:41 krw Exp $ */ +/* $OpenBSD: efidev.c,v 1.12 2015/12/24 14:12:43 krw Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -170,7 +170,7 @@ efid_diskio(int rw, struct diskinfo *dip, u_int off, int nsect, void *buf) * * NOTE: MS always uses a size of UINT32_MAX for the EFI partition!** */ -int +static int gpt_chk_mbr(struct dos_partition *dp, efi_diskinfo_t ed) { struct dos_partition *dp2; diff --git a/sys/arch/amd64/stand/libsa/softraid.c b/sys/arch/amd64/stand/libsa/softraid.c index 738bb36a5ec..21b7289c3da 100644 --- a/sys/arch/amd64/stand/libsa/softraid.c +++ b/sys/arch/amd64/stand/libsa/softraid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: softraid.c,v 1.18 2015/12/24 05:14:18 krw Exp $ */ +/* $OpenBSD: softraid.c,v 1.19 2015/12/24 14:12:43 krw Exp $ */ /* * Copyright (c) 2012 Joel Sing @@ -407,7 +407,7 @@ sr_strategy(struct sr_boot_volume *bv, int rw, daddr32_t blk, size_t size, * * NOTE: MS always uses a size of UINT32_MAX for the EFI partition!** */ -int +static int gpt_chk_mbr(struct dos_partition *dp, struct sr_boot_volume *bv) { struct dos_partition *dp2; -- cgit v1.2.3