-/* $OpenBSD: disklabel.c,v 1.237 2021/06/24 21:11:40 jmc Exp $ */
+/* $OpenBSD: disklabel.c,v 1.238 2022/02/18 17:45:43 krw Exp $ */
/*
* Copyright (c) 1987, 1993
int donothing;
void makedisktab(FILE *, struct disklabel *);
+int checklabel(struct disklabel *);
+void readlabel(int);
+int parselabel(void);
void makelabel(char *, char *, struct disklabel *);
int writelabel(int, struct disklabel *);
int edit(struct disklabel *, int);
-/* $OpenBSD: extern.h,v 1.33 2022/02/18 16:16:11 krw Exp $ */
+/* $OpenBSD: extern.h,v 1.34 2022/02/18 17:45:43 krw Exp $ */
/*
* Copyright (c) 2003 Theo de Raadt <deraadt@openbsd.org>
#define GIG(x) (MEG(x) * 1024LL)
u_short dkcksum(struct disklabel *);
-int checklabel(struct disklabel *);
char canonical_unit(struct disklabel *, char);
double scale(u_int64_t, char, struct disklabel *);
void display(FILE *, struct disklabel *, char, int);
void display_partition(FILE *, struct disklabel *, int, char);
int duid_parse(struct disklabel *, char *);
-void readlabel(int);
-int parselabel(void);
int editor(int);
int editor_allocspace(struct disklabel *);
void mpsave(struct disklabel *);