add_bsd_partition() is only used when MACH _and_ CONFIG_BSD_DISKLABEL are defined.
2006-01-31 Alfred M. Szmidt <[EMAIL PROTECTED]> * linux/dev/drivers/block/genhd.c (add_bsd_partition): Silence compiler warning. Reported by Matheus Morais <[EMAIL PROTECTED]> --- genhd.c 20 Jul 1999 20:33:55 +0200 1.4 +++ genhd.c 31 Jan 2006 00:35:47 +0100 @@ -111,7 +111,7 @@ static void add_partition (struct gendis printk(" %s", disk_name(hd, minor, buf)); } -#ifdef MACH +#if MACH && CONFIG_BSD_DISKLABEL static int mach_minor; static void add_bsd_partition (struct gendisk *hd, int minor, int slice, _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd