base-files: add network_get_protocol() to /lib/functions/network.sh
[openwrt.git] / tools / squashfs4 / patches / 190-no_nonstatic_inline.patch
1 --- a/squashfs-tools/mksquashfs.c
2 +++ b/squashfs-tools/mksquashfs.c
3 @@ -735,13 +735,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 @@ -749,7 +749,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 @@ -3358,7 +3358,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) {