2009-05-13 Pavel Roskin <proski@gnu.org>

* fs/cpio.c: Use the same name "struct head" for tar and cpio to
	facilitate code reuse.
	(grub_cpio_mount): Use "struct head", not a char buffer.  This
	fixes a warning reported by gcc 4.4.
This commit is contained in:
proski 2009-05-13 19:16:55 +00:00
parent 238e871fff
commit faec96afc8
2 changed files with 19 additions and 14 deletions

View file

@ -1,5 +1,10 @@
2009-05-13 Pavel Roskin <proski@gnu.org>
* fs/cpio.c: Use the same name "struct head" for tar and cpio to
facilitate code reuse.
(grub_cpio_mount): Use "struct head", not a char buffer. This
fixes a warning reported by gcc 4.4.
* kernel/disk.c (grub_disk_read): Use void pointer for the
buffer.
(grub_disk_write): Use const void pointer for the buffer.