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
tree: 3a4112128d3b76f0a9e24939e77145f8b6aaa2d3
  1. kernel/
  2. kernel-2.4/
  3. squashfs-tools/
  4. README