ath79: Ubiquiti Airmax M: add relocate-kernel to invalidate cache
[openwrt/staging/lynxis.git] / tools / squashfs4 / patches / 190-no_nonstatic_inline.patch
1 --- a/squashfs-tools/mksquashfs.c
2 +++ b/squashfs-tools/mksquashfs.c
3 @@ -736,13 +736,13 @@ void cache_block_put(struct file_buffer
4 + (((char *)A) - data_cache)))
5
6
7 -inline void inc_progress_bar()
8 +static inline void inc_progress_bar()
9 {
10 cur_uncompressed ++;
11 }
12
13
14 -inline void update_progress_bar()
15 +static inline void update_progress_bar()
16 {
17 pthread_mutex_lock(&progress_mutex);
18 pthread_cond_signal(&progress_wait);
19 @@ -750,7 +750,7 @@ inline void update_progress_bar()
20 }
21
22
23 -inline void waitforthread(int i)
24 +static inline void waitforthread(int i)
25 {
26 TRACE("Waiting for thread %d\n", i);
27 while(thread[i] != 0)
28 @@ -3359,7 +3359,7 @@ struct inode_info *lookup_inode(struct s
29 }
30
31
32 -inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir,
33 +static inline void add_dir_entry(char *name, char *pathname, struct dir_info *sub_dir,
34 struct inode_info *inode_info, struct dir_info *dir)
35 {
36 if((dir->count % DIR_ENTRIES) == 0) {