squashfs-tools - xattr.h:127:22: error: parameter name omitted
Hello maintainer of squashfs-tools,
In Gentoo bug report 498798[1], we came across a slight problem when
XATTR_SUPPORT is disabled:
In file included from read_fs.c:50:0:
xattr.h: In function ‘get_xattr’:
xattr.h:127:22: error: parameter name omitted
static inline struct xattr_list *get_xattr(int i, unsigned int *count,
int)
^
<builtin>: recipe for target 'read_fs.o' failed
make: *** [read_fs.o] Error 1
The attached patch fixes the problem for whoever wants to use
[mk|un]squashfs without support for extended attributes.
Regards,
jer
[1] https://bugs.gentoo.org/show_bug.cgi?id=498798
1 file changed