Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/sys



> I think what you want to do exactly is
> "including declarations of struct disklabel and struct partitions
>  without including <machine/disklabel.h>", right?

Indeed, does anyone have any better ideas on how to do this?

> Then using MAXPARTITIONS or _MACHINE_DISKLABEL_H_ is
> not correct even if it works for now.

It is a 'quick fix' that works...

> It's still better to add declarations into sys/bootblock.h
> to define info about target machines.

True, but replicating all of sys/disklabel.h cannot be right!

        David

-- 
David Laight: david%l8s.co.uk@localhost



Home | Main Index | Thread Index | Old Index