From 385e19fcb67a137b3583484973f00f8e8178711c Mon Sep 17 00:00:00 2001 From: Greg Lehey Date: Sat, 10 Apr 1999 08:09:27 +0000 Subject: [PATCH] Add declaration for basename() Change lockdrive definition if VINUMDEBUG is set. --- sys/dev/vinum/vinumext.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/vinum/vinumext.h b/sys/dev/vinum/vinumext.h index d937ae80a00f..5fe5cd1cad56 100644 --- a/sys/dev/vinum/vinumext.h +++ b/sys/dev/vinum/vinumext.h @@ -152,6 +152,7 @@ void vinum_meminfo(caddr_t data); 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 @@ -215,7 +216,11 @@ int tokenize(char *, char *[]); void resetstats(struct vinum_ioctl_msg *msg); /* Locking */ +#ifdef VINUMDEBUG +int lockdrive(struct drive *drive, char *, int); +#else int lockdrive(struct drive *drive); +#endif void unlockdrive(struct drive *drive); int lockvol(struct volume *vol); void unlockvol(struct volume *vol);