Module Name:    src
Committed By:   mrg
Date:           Tue Jan 21 06:44:40 UTC 2020

Modified Files:
        src/usr.sbin/sysinst: disklabel.c

Log Message:
hide disklabel_non_bootable() under NO_DISKLABEL_BOOT like the usage.

should fix most builds.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 src/usr.sbin/sysinst/disklabel.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/sysinst/disklabel.c
diff -u src/usr.sbin/sysinst/disklabel.c:1.31 src/usr.sbin/sysinst/disklabel.c:1.32
--- src/usr.sbin/sysinst/disklabel.c:1.31	Mon Jan 20 21:26:35 2020
+++ src/usr.sbin/sysinst/disklabel.c	Tue Jan 21 06:44:40 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: disklabel.c,v 1.31 2020/01/20 21:26:35 martin Exp $	*/
+/*	$NetBSD: disklabel.c,v 1.32 2020/01/21 06:44:40 mrg Exp $	*/
 
 /*
  * Copyright 2018 The NetBSD Foundation, Inc.
@@ -123,12 +123,14 @@ disklabel_cylinder_size(const struct dis
 	return parts->l.d_secpercyl;
 }
 
+#ifdef NO_DISKLABEL_BOOT
 static bool
 disklabel_non_bootable(const char *disk)
 {
 
 	return false;
 }
+#endif
 
 static struct disk_partitions *
 disklabel_parts_new(const char *dev, daddr_t start, daddr_t len,

Reply via email to