summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/sys/systm.h
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/sys/systm.h')
-rw-r--r--freebsd/sys/sys/systm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/freebsd/sys/sys/systm.h b/freebsd/sys/sys/systm.h
index 5f894cf6..f0a3fc63 100644
--- a/freebsd/sys/sys/systm.h
+++ b/freebsd/sys/sys/systm.h
@@ -52,7 +52,11 @@ extern int cold; /* nonzero if we are doing a cold boot */
#define cold 0
#endif /* __rtems__ */
extern int rebooting; /* kern_reboot() has been called. */
+#ifndef __rtems__
extern const char *panicstr; /* panic message */
+#else /* __rtems__ */
+#define panicstr NULL
+#endif /* __rtems__ */
extern char version[]; /* system version */
extern char compiler_version[]; /* compiler version */
extern char copyright[]; /* system copyright */