1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-23 11:18:54 +00:00

Declare `struct dkbad' with the correct scope so that everything including

<sys/disklabel.h> doesn't have to include <sys/dkbad.h> to avoid compiler
warnings.
This commit is contained in:
Bruce Evans 1994-11-14 13:08:44 +00:00
parent 4f21005bdd
commit 3d06c6b3f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=4462
3 changed files with 9 additions and 3 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)disklabel.h 8.1 (Berkeley) 6/2/93
* $Id: disklabel.h,v 1.6 1994/10/27 20:45:09 jkh Exp $
* $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $
*/
#ifndef _SYS_DISKLABEL_H_
@ -378,6 +378,8 @@ extern struct dos_partition dos_partitions[NDOSPART];
#endif /* LOCORE */
#ifdef KERNEL
struct dkbad;
u_int dkcksum __P((struct disklabel *));
int writedisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp));
char * readdisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp, struct dos_partition *dp, struct dkbad *bdp));

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)disklabel.h 8.1 (Berkeley) 6/2/93
* $Id: disklabel.h,v 1.6 1994/10/27 20:45:09 jkh Exp $
* $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $
*/
#ifndef _SYS_DISKLABEL_H_
@ -378,6 +378,8 @@ extern struct dos_partition dos_partitions[NDOSPART];
#endif /* LOCORE */
#ifdef KERNEL
struct dkbad;
u_int dkcksum __P((struct disklabel *));
int writedisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp));
char * readdisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp, struct dos_partition *dp, struct dkbad *bdp));

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)disklabel.h 8.1 (Berkeley) 6/2/93
* $Id: disklabel.h,v 1.6 1994/10/27 20:45:09 jkh Exp $
* $Id: disklabel.h,v 1.7 1994/10/31 06:31:14 phk Exp $
*/
#ifndef _SYS_DISKLABEL_H_
@ -378,6 +378,8 @@ extern struct dos_partition dos_partitions[NDOSPART];
#endif /* LOCORE */
#ifdef KERNEL
struct dkbad;
u_int dkcksum __P((struct disklabel *));
int writedisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp));
char * readdisklabel __P((dev_t dev, void (*strat)(), struct disklabel *lp, struct dos_partition *dp, struct dkbad *bdp));