Oops, I forgot to commit this together with the updates to the callers.
Removed diskerr()'s unused d_name arg and updated callers. This fixes warnings caused by the arg having the wrong type (not const enough). The arg was also wrong (a full name instead of a short one) for calls from from subr_diskmbr.c and pc98/diskslice_machdep.c.
This commit is contained in:
parent
d01e107d02
commit
e4c61ea6e2
@ -444,8 +444,8 @@ struct buf_queue_head;
|
||||
|
||||
int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp,
|
||||
int wlabel));
|
||||
void diskerr __P((struct buf *bp, char *dname, char *what, int pri,
|
||||
int blkdone, struct disklabel *lp));
|
||||
void diskerr __P((struct buf *bp, char *what, int pri, int blkdone,
|
||||
struct disklabel *lp));
|
||||
void disksort __P((struct buf *ap, struct buf *bp));
|
||||
u_int dkcksum __P((struct disklabel *lp));
|
||||
char *readdisklabel __P((dev_t dev, struct disklabel *lp));
|
||||
|
@ -444,8 +444,8 @@ struct buf_queue_head;
|
||||
|
||||
int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp,
|
||||
int wlabel));
|
||||
void diskerr __P((struct buf *bp, char *dname, char *what, int pri,
|
||||
int blkdone, struct disklabel *lp));
|
||||
void diskerr __P((struct buf *bp, char *what, int pri, int blkdone,
|
||||
struct disklabel *lp));
|
||||
void disksort __P((struct buf *ap, struct buf *bp));
|
||||
u_int dkcksum __P((struct disklabel *lp));
|
||||
char *readdisklabel __P((dev_t dev, struct disklabel *lp));
|
||||
|
@ -444,8 +444,8 @@ struct buf_queue_head;
|
||||
|
||||
int bounds_check_with_label __P((struct buf *bp, struct disklabel *lp,
|
||||
int wlabel));
|
||||
void diskerr __P((struct buf *bp, char *dname, char *what, int pri,
|
||||
int blkdone, struct disklabel *lp));
|
||||
void diskerr __P((struct buf *bp, char *what, int pri, int blkdone,
|
||||
struct disklabel *lp));
|
||||
void disksort __P((struct buf *ap, struct buf *bp));
|
||||
u_int dkcksum __P((struct disklabel *lp));
|
||||
char *readdisklabel __P((dev_t dev, struct disklabel *lp));
|
||||
|
Loading…
x
Reference in New Issue
Block a user