1 --- squashfs4.2.orig/squashfs-tools/mksquashfs.c 2011-02-28 23:24:09.000000000 +0100
2 +++ squashfs4.2/squashfs-tools/mksquashfs.c 2014-03-29 15:02:16.000000000 +0100
4 #include <sys/sysinfo.h>
8 +#define FNM_EXTMATCH 0
12 #define TRACE(s, args...) \
14 @@ -721,13 +725,13 @@ void cache_block_put(struct file_buffer
15 + (((char *)A) - data_cache)))
18 -inline void inc_progress_bar()
19 +static inline void inc_progress_bar()
25 -inline void update_progress_bar()
26 +static inline void update_progress_bar()
28 pthread_mutex_lock(&progress_mutex);
29 pthread_cond_signal(&progress_wait);
30 @@ -735,7 +739,7 @@ inline void update_progress_bar()
34 -inline void waitforthread(int i)
35 +static inline void waitforthread(int i)
37 TRACE("Waiting for thread %d\n", i);
39 @@ -3340,7 +3344,7 @@ struct inode_info *lookup_inode(struct s
43 -inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir,
44 +static inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir,
45 struct inode_info *inode_info, struct dir_info *dir)
47 if((dir->count % DIR_ENTRIES) == 0) {