* grub-core/fs/iso9660.c (grub_iso9660_iterate_dir): Force inlining of
add_part to workaround compiler bug.
This commit is contained in:
parent
30dd48c2b0
commit
dc71319397
2 changed files with 10 additions and 3 deletions
|
@ -533,10 +533,12 @@ grub_iso9660_iterate_dir (grub_fshelp_node_t dir,
|
|||
grub_off_t len;
|
||||
char *symlink = 0;
|
||||
|
||||
auto void add_part (const char *part, int len);
|
||||
|
||||
/* Extend the symlink. */
|
||||
void add_part (const char *part, int len2)
|
||||
auto inline void __attribute__ ((always_inline)) add_part (const char *part,
|
||||
int len2);
|
||||
|
||||
auto inline void __attribute__ ((always_inline)) add_part (const char *part,
|
||||
int len2)
|
||||
{
|
||||
int size = symlink ? grub_strlen (symlink) : 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue