summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2001-07-27 00:44:36 +0000
committerpeter <peter@FreeBSD.org>2001-07-27 00:44:36 +0000
commit7f68356a77f53f08003fe005f0426bb8f22a0d1f (patch)
treef89e01d77447f1f96ca6477a4a95c71f7e21df23 /sys/dev
parent3ed3578ff810c2c0c59778bc5aaf1c4ffbcb839a (diff)
downloadFreeBSD-src-7f68356a77f53f08003fe005f0426bb8f22a0d1f.zip
FreeBSD-src-7f68356a77f53f08003fe005f0426bb8f22a0d1f.tar.gz
The kernel *does* now define setjmp/longjmp. Dont duplicate it here.
In file included from ../../../dev/vinum/vinumhdr.h:77, from ../../../dev/vinum/vinum.c:44: ../../../dev/vinum/vinumext.h:165: warning: redundant redeclaration of `setjmp' in same scope ../../../sys/systm.h:96: warning: previous declaration of `setjmp' ../../../dev/vinum/vinummemory.c:44: warning: redundant redeclaration of `longjmp' in same scope ../../../sys/systm.h:97: warning: previous declaration of `longjmp'
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/vinum/vinumext.h3
-rw-r--r--sys/dev/vinum/vinummemory.c1
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumext.h b/sys/dev/vinum/vinumext.h
index 6e0fdf2..9b96df8 100644
--- a/sys/dev/vinum/vinumext.h
+++ b/sys/dev/vinum/vinumext.h
@@ -159,10 +159,7 @@ int vinum_mallocinfo(caddr_t data);
int vinum_rqinfo(caddr_t data);
void LongJmp(jmp_buf, int);
char *basename(char *);
-#else
-void longjmp(jmp_buf, int); /* the kernel doesn't define this */
#endif
-int setjmp(jmp_buf);
void expand_table(void **, int, int);
diff --git a/sys/dev/vinum/vinummemory.c b/sys/dev/vinum/vinummemory.c
index c267a44..5a2093b 100644
--- a/sys/dev/vinum/vinummemory.c
+++ b/sys/dev/vinum/vinummemory.c
@@ -41,7 +41,6 @@
#ifdef VINUMDEBUG
#undef longjmp /* this was defined as LongJmp */
-void longjmp(jmp_buf, int); /* the kernel doesn't define this */
#include <dev/vinum/request.h>
extern struct rqinfo rqinfo[];
OpenPOWER on IntegriCloud