summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-05-08 02:50:44 +0000
committergrog <grog@FreeBSD.org>1999-05-08 02:50:44 +0000
commited62d1c685039a991087f1c75bf40662992e7e1d (patch)
tree5c57805166d8ab8fc6a0fdbf8fc29f7a27991184
parent2ec87bd360bd67884b24ede1e0feaa48ee1e1ba5 (diff)
downloadFreeBSD-src-ed62d1c685039a991087f1c75bf40662992e7e1d.zip
FreeBSD-src-ed62d1c685039a991087f1c75bf40662992e7e1d.tar.gz
Make Vinum compile correctly without VINUMDEBUG
Tripped-over-by: Thomas Stromberg <tstromberg@rtci.com>
-rw-r--r--sys/dev/vinum/vinumioctl.c2
-rw-r--r--sys/dev/vinum/vinummemory.c1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumioctl.c b/sys/dev/vinum/vinumioctl.c
index a7472cc..8875d91 100644
--- a/sys/dev/vinum/vinumioctl.c
+++ b/sys/dev/vinum/vinumioctl.c
@@ -53,6 +53,8 @@ void detachobject(struct vinum_ioctl_msg *);
void renameobject(struct vinum_rename_msg *);
void replaceobject(struct vinum_ioctl_msg *);
+jmp_buf command_fail; /* return on a failed command */
+
/* ioctl routine */
int
vinumioctl(dev_t dev,
diff --git a/sys/dev/vinum/vinummemory.c b/sys/dev/vinum/vinummemory.c
index 357011c..27f6f8b 100644
--- a/sys/dev/vinum/vinummemory.c
+++ b/sys/dev/vinum/vinummemory.c
@@ -39,7 +39,6 @@
#include <dev/vinum/vinumhdr.h>
#ifdef VINUMDEBUG
-jmp_buf command_fail; /* return on a failed command */
#undef longjmp /* this was defined as LongJmp */
void longjmp(jmp_buf, int); /* the kernel doesn't define this */
OpenPOWER on IntegriCloud