* partmap/acorn.c: Change `unsigned' to `unsigned int'. Move all variable definitions to the beginning of each function. Sort stack variables by size. (find): Rename to `acorn_partition_map_find'. Cast `grub_disk_read' `buf' argument to `char *'.
Add support for Linux/ADFS partition tables. * partmap/acorn.c: New file. * include/grub/acorn_filecore.h: Likewise. * DISTLIST: Added `partmap/acorn.c' and `include/grub/acorn_filecore.h'. * conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `partmap/acorn.c'. (pkgdata_MODULES): Add `acorn.mod'. (acorn_mod_SOURCES): New variable. (acorn_mod_CFLAGS): Likewise. * conf/sparc64-ieee1275.rmk (grub_emu_SOURCES): Add `partmap/acorn.c'. (pkgdata_MODULES): Add `acorn.mod'. (acorn_mod_SOURCES): New variable. (acorn_mod_CFLAGS): Likewise. * conf/i386-pc.rmk (grub_emu_SOURCES): Add `partmap/acorn.c'. (pkgdata_MODULES): Add `acorn.mod'. (acorn_mod_SOURCES): New variable. (acorn_mod_CFLAGS): Likewise. (acorn_mod_LDFLAGS): Likewise. * include/types.h (grub_disk_addr_t): New typedef.