Add declaration for basename()

Change lockdrive definition if VINUMDEBUG is set.
This commit is contained in:
Greg Lehey 1999-04-10 08:09:27 +00:00
parent ec3a729692
commit 385e19fcb6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45534

View File

@ -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);