From 4501d823799c49da95b185fad6f3104abc825112 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Fri, 24 Oct 1997 19:01:04 +0000 Subject: export bootarg* vars --- sys/stand/boot/bootarg.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sys/stand/boot') diff --git a/sys/stand/boot/bootarg.h b/sys/stand/boot/bootarg.h index 1bb1426b208..b7461c8fd2f 100644 --- a/sys/stand/boot/bootarg.h +++ b/sys/stand/boot/bootarg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bootarg.h,v 1.1 1997/10/21 04:05:54 mickey Exp $ */ +/* $OpenBSD: bootarg.h,v 1.2 1997/10/24 19:01:03 mickey Exp $ */ /* * Copyright (c) 1996 Michael Shalayeff @@ -41,6 +41,12 @@ typedef struct _boot_args { #define BOOTARG_END -1 +#if defined(_KERNEL) || defined(_STANDALONE) +extern void *bootargv; +extern int bootargc; +extern bootarg_t *bootargp; +#endif + #ifdef _STANDALONE void addbootarg __P((int, size_t, void *)); void *makebootargs __P((size_t *)); -- cgit v1.2.3