-/* $OpenBSD: mbr.c,v 1.91 2021/07/19 19:23:50 krw Exp $ */
+/* $OpenBSD: mbr.c,v 1.92 2021/07/19 19:30:35 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
static int gpt_chk_mbr(struct dos_partition *, uint64_t);
int
-MBR_protective_mbr(struct mbr *mbr)
+MBR_protective_mbr(const struct mbr *mbr)
{
struct dos_partition dp[NDOSPART], dos_partition;
int i;
-/* $OpenBSD: mbr.h,v 1.38 2021/07/19 19:23:50 krw Exp $ */
+/* $OpenBSD: mbr.h,v 1.39 2021/07/19 19:30:35 krw Exp $ */
/*
* Copyright (c) 1997 Tobias Weingartner
void MBR_init_GPT(struct mbr *);
int MBR_read(const uint64_t, const uint64_t, struct mbr *);
int MBR_write(const struct mbr *);
-int MBR_protective_mbr(struct mbr *);
+int MBR_protective_mbr(const struct mbr *);
#endif /* _MBR_H */