mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
887ba12fc5
commit
685ea22f1c
3 changed files with 6 additions and 6 deletions
|
|
@ -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…
Reference in a new issue