Module Name: src
Committed By: mlelstv
Date: Fri Nov 1 14:28:42 UTC 2024
Modified Files:
src/sys/arch/virt68k/virt68k: bootinfo.c
Log Message:
Make compilable without GFTTY
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/virt68k/virt68k/bootinfo.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/virt68k/virt68k/bootinfo.c
diff -u src/sys/arch/virt68k/virt68k/bootinfo.c:1.6 src/sys/arch/virt68k/virt68k/bootinfo.c:1.7
--- src/sys/arch/virt68k/virt68k/bootinfo.c:1.6 Mon Jan 8 05:09:41 2024
+++ src/sys/arch/virt68k/virt68k/bootinfo.c Fri Nov 1 14:28:42 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: bootinfo.c,v 1.6 2024/01/08 05:09:41 thorpej Exp $ */
+/* $NetBSD: bootinfo.c,v 1.7 2024/11/01 14:28:42 mlelstv Exp $ */
/*-
* Copyright (c) 2023 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bootinfo.c,v 1.6 2024/01/08 05:09:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bootinfo.c,v 1.7 2024/11/01 14:28:42 mlelstv Exp $");
#include "opt_md.h"
@@ -69,6 +69,7 @@ static bool bootinfo_console_addr_valid
static uint32_t bootinfo_initrd_start;
static uint32_t bootinfo_initrd_size;
+#if NGFTTY > 0
static bool
bootinfo_set_console(paddr_t pa)
{
@@ -79,6 +80,7 @@ bootinfo_set_console(paddr_t pa)
}
return false;
}
+#endif
static inline struct bi_record *
bootinfo_next(struct bi_record *bi)