return;
}
-static int check_aix_label(struct fdisk_context *cxt)
+static int aix_probe_label(struct fdisk_context *cxt)
{
if (aixlabel->magic != AIX_LABEL_MAGIC &&
aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED) {
const struct fdisk_label aix_label =
{
.name = "aix",
- .probe = check_aix_label
+ .probe = aix_probe_label,
};
* so this does not mean that there is a BSD disk label.
*/
static int
-check_osf_label(struct fdisk_context *cxt) {
+osf_probe_label(struct fdisk_context *cxt) {
if (xbsd_readlabel (cxt, NULL, &xbsd_dlabel) == 0)
return 0;
return 1;
const struct fdisk_label bsd_label =
{
.name = "bsd",
- .probe = check_osf_label
+ .probe = osf_probe_label,
};
}
}
-static int check_dos_label(struct fdisk_context *cxt)
+static int dos_probe_label(struct fdisk_context *cxt)
{
int i;
const struct fdisk_label dos_label =
{
.name = "dos",
- .probe = check_dos_label,
+ .probe = dos_probe_label,
};
}
static int
-check_mac_label(struct fdisk_context *cxt)
+mac_probe_label(struct fdisk_context *cxt)
{
/*
Conversion: only 16 bit should compared
const struct fdisk_label mac_label =
{
.name = "mac",
- .probe = check_mac_label
+ .probe = mac_probe_label,
};
}
static int
-check_sgi_label(struct fdisk_context *cxt) {
+sgi_probe_label(struct fdisk_context *cxt) {
if (sizeof(sgilabel) > 512) {
fprintf(stderr,
_("According to MIPS Computer Systems, Inc the "
const struct fdisk_label sgi_label =
{
.name = "sgi",
- .probe = check_sgi_label
+ .probe = sgi_probe_label,
};
partitions = SUN_NUM_PARTITIONS;
}
-static int check_sun_label(struct fdisk_context *cxt)
+static int sun_probe_label(struct fdisk_context *cxt)
{
unsigned short *ush;
int csum;
const struct fdisk_label sun_label =
{
.name = "sun",
- .probe = check_sun_label,
+ .probe = sun_probe_label,
};