diff options
Diffstat (limited to 'ifuncs.h')
-rw-r--r-- | ifuncs.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -66,3 +66,14 @@ d_name(struct dirent *di) return di->d_name; #endif } + +static inline void +init_stat_x(stat_x *sx_p) +{ +#ifdef SUPPORT_ACLS + sx_p->acc_acl = sx_p->def_acl = NULL; +#endif +#ifdef SUPPORT_XATTRS + sx_p->xattr = NULL; +#endif +} |