At Mon, 4 Jun 2007 18:59:30 +0200,
Robert Millan wrote:
> 
> 
> How is it that util/biosdisk.c makes effort to avoid including Linux headers
> and defines Linux ioctl macros on its own?
> 
> This adds an extra maintainance burden, so I guess there must be a reason to 
> do
> it, but can't think of one..

It only defines it when it isn't defined yet. It seems to be taken
from GRUB Legacy's lib/device.c and probably comes from a time those
things weren't always defined. The checks for glibc also don't seem
that useful to me. It needs a cleanup.

Jeroen Dekkers


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to