110-no_nonstatic_inline.patch 581 B

1234567891011
  1. --- a/squashfs-tools/mksquashfs.c
  2. +++ b/squashfs-tools/mksquashfs.c
  3. @@ -1347,7 +1347,7 @@ struct inode_info *lookup_inode(struct s
  4. }
  5. -inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir, struct inode_info *inode_info, void *data, struct dir_info *dir)
  6. +static inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir, struct inode_info *inode_info, void *data, struct dir_info *dir)
  7. {
  8. if((dir->count % DIR_ENTRIES) == 0)
  9. if((dir->list = realloc(dir->list, (dir->count + DIR_ENTRIES) * sizeof(struct dir_ent *))) == NULL)