Add a extern declaration for the mountroot variable.

This commit is contained in:
simonb 2002-03-04 02:24:37 +00:00
parent 64c7743a05
commit 60b62880cc

View File

@ -1,4 +1,4 @@
/* $NetBSD: systm.h,v 1.140 2001/11/12 23:08:13 christos Exp $ */ /* $NetBSD: systm.h,v 1.141 2002/03/04 02:24:37 simonb Exp $ */
/*- /*-
* Copyright (c) 1982, 1988, 1991, 1993 * Copyright (c) 1982, 1988, 1991, 1993
@ -286,10 +286,11 @@ void dopowerhooks __P((int));
#define PWR_SOFTSTANDBY 5 #define PWR_SOFTSTANDBY 5
/* /*
* Mountroot hooks. Device drivers establish these to be executed * Mountroot hooks (and mountroot declaration). Device drivers establish
* just before (*mountroot)() if the passed device is selected * these to be executed just before (*mountroot)() if the passed device is
* as the root device. * selected as the root device.
*/ */
extern int (*mountroot)(void);
void *mountroothook_establish __P((void (*)(struct device *), void *mountroothook_establish __P((void (*)(struct device *),
struct device *)); struct device *));
void mountroothook_disestablish __P((void *)); void mountroothook_disestablish __P((void *));