diff options
-rw-r--r-- | sys/kern/subr_disk.c | 3 | ||||
-rw-r--r-- | sys/sys/disklabel.h | 4 |
2 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c index 491d557b698..e74aec0f1ee 100644 --- a/sys/kern/subr_disk.c +++ b/sys/kern/subr_disk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: subr_disk.c,v 1.215 2015/09/13 12:53:08 krw Exp $ */ +/* $OpenBSD: subr_disk.c,v 1.216 2015/09/13 14:38:17 krw Exp $ */ /* $NetBSD: subr_disk.c,v 1.17 1996/03/16 23:17:08 christos Exp $ */ /* @@ -104,6 +104,7 @@ void disk_attach_callback(void *); int readdisksector(struct buf *, void (*)(struct buf *), struct disklabel *, u_int64_t); +int spoofgptlabel(struct buf *, void (*)(struct buf *), struct disklabel *); int gpt_chk_mbr(struct dos_partition *, struct disklabel *); int gpt_chk_hdr(struct gpt_header *, struct disklabel *); diff --git a/sys/sys/disklabel.h b/sys/sys/disklabel.h index 4abe999456a..d64fd270291 100644 --- a/sys/sys/disklabel.h +++ b/sys/sys/disklabel.h @@ -1,4 +1,4 @@ -/* $OpenBSD: disklabel.h,v 1.69 2015/09/13 12:53:08 krw Exp $ */ +/* $OpenBSD: disklabel.h,v 1.70 2015/09/13 14:38:17 krw Exp $ */ /* $NetBSD: disklabel.h,v 1.41 1996/05/10 23:07:37 mark Exp $ */ /* @@ -541,8 +541,6 @@ int writedisklabel(dev_t, void (*)(struct buf *), struct disklabel *); int bounds_check_with_label(struct buf *, struct disklabel *); int readdoslabel(struct buf *, void (*)(struct buf *), struct disklabel *, daddr_t *, int); -int spoofgptlabel(struct buf *, void (*)(struct buf *), - struct disklabel *); #ifdef CD9660 int iso_disklabelspoof(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp); |