wok-next view vzquota/stuff/patches/extern.patch @ rev 21623

updated elfutils (0.175 -> 0.180)
author Hans-G?nter Theisgen
date Thu Jun 25 14:49:28 2020 +0100 (2020-06-25)
parents
children
line source
1 --- a/src/quota_io.c
2 +++ b/src/quota_io.c
3 @@ -39,7 +39,7 @@
5 #define min(a,b) (((a) > (b)) ? (b) : (a))
7 -inline int is_dummy_stat(struct dq_stat *stat)
8 +extern inline int is_dummy_stat(struct dq_stat *stat)
9 {
10 return !(stat->bhardlimit || stat->bsoftlimit || stat->bcurrent ||
11 stat->ihardlimit || stat->isoftlimit || stat->icurrent);
12 @@ -54,7 +54,7 @@
13 }
15 /* Hash given id */
16 -inline unsigned int hash_dquot(unsigned int id)
17 +extern inline unsigned int hash_dquot(unsigned int id)
18 {
19 return ((id ^ (id << 16)) * 997) & (DQUOTHASHSIZE - 1);
20 }
21 --- a/src/quotacheck.c
22 +++ b/src/quotacheck.c
23 @@ -31,7 +31,7 @@
24 #include "quotacheck.h"
27 -inline struct dir * new_dir_entry(const char * item_name)
28 +extern inline struct dir * new_dir_entry(const char * item_name)
29 {
30 struct dir * new_dir = xmalloc(sizeof(struct dir));
31 new_dir->name = xstrdup(item_name);