some kernel prototypes should also be made available to _STANDALONE
authorderaadt <deraadt@openbsd.org>
Mon, 16 Jan 2023 18:41:53 +0000 (18:41 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 16 Jan 2023 18:41:53 +0000 (18:41 +0000)
sys/arch/alpha/include/prom.h

index 1a99707..9c7d4bc 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: prom.h,v 1.10 2014/12/18 10:45:29 dlg Exp $ */
+/* $OpenBSD: prom.h,v 1.11 2023/01/16 18:41:53 deraadt Exp $ */
 /* $NetBSD: prom.h,v 1.12 2000/06/08 03:10:06 thorpej Exp $ */
 
 /*
@@ -111,7 +111,7 @@ void        hwrpb_restart_setup(void);
 #endif
 
 #ifndef ASSEMBLER
-#ifdef _KERNEL
+#if defined(_KERNEL) || defined(_STANDALONE)
 void   promcnputc(dev_t, int);
 int    promcngetc(dev_t);
 int    promcnlookc(dev_t, char *);