* util/grub-mkdevicemap.c (make_device_map): Add missing

NESTED_FUNC_ATTR to process_device().
This commit is contained in:
davem 2009-04-26 08:44:36 +00:00
parent 033b10a80a
commit 5c77c3de65
2 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2009-04-26 David S. Miller <davem@davemloft.net>
* util/grub-mkdevicemap.c (make_device_map): Add missing
NESTED_FUNC_ATTR to process_device().
2009-04-25 Vladimir Serbinenko <phcoder@gmail.com> 2009-04-25 Vladimir Serbinenko <phcoder@gmail.com>
Test command Test command

View file

@ -42,9 +42,9 @@ make_device_map (const char *device_map, int floppy_disks)
int num_fd = 0; int num_fd = 0;
FILE *fp; FILE *fp;
auto int process_device (const char *name, int is_floppy); auto int NESTED_FUNC_ATTR process_device (const char *name, int is_floppy);
int process_device (const char *name, int is_floppy) int NESTED_FUNC_ATTR process_device (const char *name, int is_floppy)
{ {
grub_util_emit_devicemap_entry (fp, (char *) name, grub_util_emit_devicemap_entry (fp, (char *) name,
is_floppy, &num_fd, &num_hd); is_floppy, &num_fd, &num_hd);