diff options
author | grog <grog@FreeBSD.org> | 1999-03-28 08:53:23 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-03-28 08:53:23 +0000 |
commit | 3f46a30c8aec6d814ffbe090b3975592d1a6fe46 (patch) | |
tree | 99e8f6ff34442703b95be33d00201648c62b0b74 /sys | |
parent | 7dd8acc7c61ff933b79259cebc257b517617f37a (diff) | |
download | FreeBSD-src-3f46a30c8aec6d814ffbe090b3975592d1a6fe46.zip FreeBSD-src-3f46a30c8aec6d814ffbe090b3975592d1a6fe46.tar.gz |
Add declaration for forceup () (in vinumstate.c)
Add declarations for setjmp, cmd_buf and longjmp.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/vinum/vinumext.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/dev/vinum/vinumext.h b/sys/dev/vinum/vinumext.h index 8d99a9c..d937ae8 100644 --- a/sys/dev/vinum/vinumext.h +++ b/sys/dev/vinum/vinumext.h @@ -33,7 +33,7 @@ * otherwise) arising in any way out of the use of this software, even if * advised of the possibility of such damage. * - * $Id: vinumext.h,v 1.18 1999/01/15 02:41:16 grog Exp grog $ + * $Id: vinumext.h,v 1.19 1999/03/23 02:57:04 grog Exp grog $ */ /* vinumext.h: external definitions */ @@ -142,11 +142,18 @@ void sdio(struct buf *bp); /* XXX Do we need this? */ int vinumpart(dev_t); +/* Why aren't these declared anywhere? XXX */ +int setjmp(jmp_buf); +extern jmp_buf command_fail; /* return here if config fails */ + #ifdef VINUMDEBUG /* Memory allocation and request tracing */ void vinum_meminfo(caddr_t data); int vinum_mallocinfo(caddr_t data); int vinum_rqinfo(caddr_t data); +void LongJmp(jmp_buf, int); +#else +void longjmp(jmp_buf, int); /* the kernel doesn't define this */ #endif void expand_table(void **, int, int); @@ -167,6 +174,7 @@ enum requeststatus checksdstate(struct sd *sd, struct request *rq, daddr_t diska int set_plex_state(int plexno, enum plexstate state, enum setstateflags flags); int set_volume_state(int volumeno, enum volumestate state, enum setstateflags flags); void update_sd_state(int sdno); +void forceup(int plexno); void update_plex_state(int plexno); void update_volume_state(int volno); void invalidate_subdisks(struct plex *, enum sdstate); |