summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-03-30 19:58:31 +0000
committerphk <phk@FreeBSD.org>2002-03-30 19:58:31 +0000
commit2d4baab912c98ae553e5f0169789f220ff99725f (patch)
tree8e6484bf0f711634043d84ed1f040a55edee7be8
parent4aad0459f2589846efbdf6b09c713863152baca6 (diff)
downloadFreeBSD-src-2d4baab912c98ae553e5f0169789f220ff99725f.zip
FreeBSD-src-2d4baab912c98ae553e5f0169789f220ff99725f.tar.gz
Move the "dumping" variable from systm.h to conf.h.
-rw-r--r--sys/sys/conf.h3
-rw-r--r--sys/sys/linedisc.h3
-rw-r--r--sys/sys/systm.h1
3 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index af58f39..c4a2a86 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 af58f39..c4a2a86 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 59ed157..dfbba68 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 */
OpenPOWER on IntegriCloud