diff --git a/sys/sys/conf.h b/sys/sys/conf.h index af58f3951d27..c4a2a86b4df8 100644 --- a/sys/sys/conf.h +++ b/sys/sys/conf.h @@ -353,6 +353,9 @@ typedef void (*dev_clone_fn)(void *arg, char *name, int namelen, dev_t *result); int dev_stdclone(char *name, char **namep, const char *stem, int *unit); EVENTHANDLER_DECLARE(dev_clone, dev_clone_fn); + +extern int dumping; /* system is dumping */ + #endif /* _KERNEL */ #endif /* !_SYS_CONF_H_ */ diff --git a/sys/sys/linedisc.h b/sys/sys/linedisc.h index af58f3951d27..c4a2a86b4df8 100644 --- a/sys/sys/linedisc.h +++ b/sys/sys/linedisc.h @@ -353,6 +353,9 @@ typedef void (*dev_clone_fn)(void *arg, char *name, int namelen, dev_t *result); int dev_stdclone(char *name, char **namep, const char *stem, int *unit); EVENTHANDLER_DECLARE(dev_clone, dev_clone_fn); + +extern int dumping; /* system is dumping */ + #endif /* _KERNEL */ #endif /* !_SYS_CONF_H_ */ diff --git a/sys/sys/systm.h b/sys/sys/systm.h index 59ed157ae764..dfbba68d9923 100644 --- a/sys/sys/systm.h +++ b/sys/sys/systm.h @@ -51,7 +51,6 @@ extern int suser_enabled; /* suser_xxx() is permitted to return 0 */ extern int cold; /* nonzero if we are doing a cold boot */ extern const char *panicstr; /* panic message */ -extern int dumping; /* system is dumping */ extern char version[]; /* system version */ extern char copyright[]; /* system copyright */