Include <arm/bootconfig.h> to get the get_bootconf_option() prototype and

associated definitions, instead of rolling our own.
This commit is contained in:
scw 2005-06-03 12:48:25 +00:00
parent 2949d9d676
commit 9464c4ee5f

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootconfig.h,v 1.1 2002/02/10 01:57:08 thorpej Exp $ */
/* $NetBSD: bootconfig.h,v 1.2 2005/06/03 12:48:25 scw Exp $ */
/*
* Copyright (c) 1994 Mark Brinicombe.
@ -76,16 +76,4 @@ typedef struct _BootConfig {
extern BootConfig bootconfig;
#endif /* _KERNEL && OFW */
#ifdef _KERNEL
#define BOOTOPT_TYPE_BOOLEAN 0
#define BOOTOPT_TYPE_STRING 1
#define BOOTOPT_TYPE_INT 2
#define BOOTOPT_TYPE_BININT 3
#define BOOTOPT_TYPE_HEXINT 4
#define BOOTOPT_TYPE_MASK 7
int get_bootconf_option __P((char *string, char *option, int type, void *result));
extern char *boot_args;
extern char *boot_file;
#endif /* _KERNEL */
#include <arm/bootconfig.h>