remove all trailing whitespace

This commit is contained in:
fzielcke 2009-06-10 21:04:23 +00:00
parent d2d4966571
commit b39f9d20a9
222 changed files with 3286 additions and 3286 deletions

View file

@ -76,7 +76,7 @@ struct grub_apple_part
/* Reserved. */
grub_uint32_t reserved2;
/* The entry point of the bootcode. */
grub_uint32_t bootcode_entrypoint;
@ -181,7 +181,7 @@ apple_partition_map_probe (grub_disk_t disk, const char *str)
char *s = (char *) str;
auto int find_func (grub_disk_t d, const grub_partition_t partition);
int find_func (grub_disk_t d __attribute__ ((unused)),
const grub_partition_t partition)
{
@ -190,14 +190,14 @@ apple_partition_map_probe (grub_disk_t disk, const char *str)
p = (grub_partition_t) grub_malloc (sizeof (*p));
if (! p)
return 1;
grub_memcpy (p, partition, sizeof (*p));
return 1;
}
return 0;
}
/* Get the partition number. */
partnum = grub_strtoul (s, 0, 10) - 1;
if (grub_errno)
@ -205,7 +205,7 @@ apple_partition_map_probe (grub_disk_t disk, const char *str)
grub_error (GRUB_ERR_BAD_FILENAME, "invalid partition");
return 0;
}
if (apple_partition_map_iterate (disk, find_func))
goto fail;