2007-08-02 Bean <bean123ch@gmail.com>
* disk.h (grub_disk): Use NESTED_FUNC_ATTR. * file.h (grub_file): Likewise. * fshelp.h (grub_fshelp_read_file): Likewise. * util/i386/pc/grub-setup.c (setup): Likewise. (save_first_sector): Likewise. (save_blocklists): Likewise. * fs/affs.c (grub_affs_read_file): Likewise. * fs/ext2.c (grub_ext2_read_file): Likewise. * fs/fat.c (grub_fat_read_data): Likewise. * fs/fshelp.c (grub_fshelp_read_file): Likewise. * fs/hfs.c (grub_hfs_read_file): Likewise. * fs/hfsplus.c (grub_hfsplus_read_file): Likewise. * fs/jfs.c (grub_jfs_read_file): Likewise. * fs/minix.c (grub_minix_read_file): Likewise. * fs/sfs.c (grub_sfs_read_file): Likewise. * fs/ufs.c (grub_ufs_read_file): Likewise. * fs/xfs.c (grub_xfs_read_file): Likewise. * command/blocklist.c (read_blocklist): Likewise. (print_blocklist): Likewise.
This commit is contained in:
parent
0a203f83ff
commit
9959f7dbb5
17 changed files with 59 additions and 22 deletions
|
@ -109,9 +109,9 @@ setup (const char *prefix, const char *dir,
|
|||
unsigned long first_start = ~0UL;
|
||||
int able_to_embed = 1;
|
||||
|
||||
auto void save_first_sector (grub_disk_addr_t sector, unsigned offset,
|
||||
auto void NESTED_FUNC_ATTR save_first_sector (grub_disk_addr_t sector, unsigned offset,
|
||||
unsigned length);
|
||||
auto void save_blocklists (grub_disk_addr_t sector, unsigned offset,
|
||||
auto void NESTED_FUNC_ATTR save_blocklists (grub_disk_addr_t sector, unsigned offset,
|
||||
unsigned length);
|
||||
|
||||
auto int find_first_partition_start (grub_disk_t disk,
|
||||
|
@ -130,7 +130,7 @@ setup (const char *prefix, const char *dir,
|
|||
return 0;
|
||||
}
|
||||
|
||||
void save_first_sector (grub_disk_addr_t sector, unsigned offset,
|
||||
void NESTED_FUNC_ATTR save_first_sector (grub_disk_addr_t sector, unsigned offset,
|
||||
unsigned length)
|
||||
{
|
||||
grub_util_info ("the first sector is <%llu,%u,%u>",
|
||||
|
@ -142,7 +142,7 @@ setup (const char *prefix, const char *dir,
|
|||
first_sector = sector;
|
||||
}
|
||||
|
||||
void save_blocklists (grub_disk_addr_t sector, unsigned offset,
|
||||
void NESTED_FUNC_ATTR save_blocklists (grub_disk_addr_t sector, unsigned offset,
|
||||
unsigned length)
|
||||
{
|
||||
struct boot_blocklist *prev = block + 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue