mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2025-01-10 16:31:18 +01:00
Add declaration for basename()
Change lockdrive definition if VINUMDEBUG is set.
This commit is contained in:
parent
ec3a729692
commit
385e19fcb6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45534
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user